cup1
[aversive.git] / projects / microb2010 / cobboard / state.c
index 2d65208..535829f 100644 (file)
@@ -294,6 +294,9 @@ static void state_do_harvest(uint8_t side)
                shovel_down();
                time_wait_ms(250);
                shovel_up();
+               /* if eject command is received, force exit */
+               if (EJECT(state_mode))
+                       return;
        }
 
        state_debug_wait_key_pressed();