state_machine
authorzer0 <zer0@carbon.local>
Fri, 30 Apr 2010 19:45:22 +0000 (21:45 +0200)
committerzer0 <zer0@carbon.local>
Fri, 30 Apr 2010 19:45:22 +0000 (21:45 +0200)
projects/microb2010/ballboard/state.c

index 08c104d..f9a5f8a 100644 (file)
@@ -156,8 +156,8 @@ void state_machine(void)
                switch (state_mode) {
 
                case INIT:
-                       state_mode = OFF;
                        state_init();
+                       state_mode = OFF;
                        break;
 
                case OFF: