]> git.droids-corp.org - aversive.git/commitdiff
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 08c104d96340244586958f9c73e6b4f6b8e5cd28..f9a5f8a7f9fa9c9a9df8cf41886cb0cc2f07e477 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: