]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
bugfix - Do not enable switches earlier than necessary
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 26 May 2010 17:55:50 +0000 (19:55 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 26 May 2010 17:55:58 +0000 (19:55 +0200)
src/robofsm/common-states.cc

index ffe9433a89ae8d4d0ff6689015430a837a5db7e9..d9c1db3527d7b1919317f26d06286f35c4d8940a 100644 (file)
@@ -308,6 +308,7 @@ FSM_STATE(sledge_down)
                case EV_MOTION_ERROR:
                case EV_SWITCH_STRATEGY:
                        DBG_PRINT_EVENT("unhandled event");
+                       break;
                case EV_EXIT:
                        // enables using side switches on bumpers
                        enable_switches(true);