From: zer0 Date: Fri, 30 Apr 2010 19:45:22 +0000 (+0200) Subject: state_machine X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6095bac4cdbb3ed5beda7c131e431b089954a367;p=aversive.git state_machine --- diff --git a/projects/microb2010/ballboard/state.c b/projects/microb2010/ballboard/state.c index 08c104d..f9a5f8a 100644 --- a/projects/microb2010/ballboard/state.c +++ b/projects/microb2010/ballboard/state.c @@ -156,8 +156,8 @@ void state_machine(void) switch (state_mode) { case INIT: - state_mode = OFF; state_init(); + state_mode = OFF; break; case OFF: