Add and improve debug messages, clean out old dev. comments

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-12-22 12:40:43 +01:00
1 parent 6f26f2f9d0
commit c59f7d23f4
5 files changed
+13 -8

No files matched your search

+2 -1
View File
@@ -95,7 +95,8 @@ void sm_step(sm_t *sm)
restart:
old_state = sm->state;
_d("state: %s", sm_status(sm->state));
_d("state: %s, runlevel: %d, newlevel: %d, teardown: %d, reload: %d",
sm_status(sm->state), runlevel, sm->newlevel, sm->in_teardown, sm->reload);
switch (sm->state) {
case SM_BOOTSTRAP_STATE: