X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=projects%2Fmicrob2010%2Fballboard%2Fstate.c;h=0492e1855991c61e94fb972aa1bb6b0e76a50151;hb=b022f257a5ee568737e1a684a83d0154397fffcb;hp=9568be8997eadfa49efd1c89ef75a77876cb251b;hpb=d913aa23d2f02c5a66b3c9930763fcbd9e963d52;p=aversive.git diff --git a/projects/microb2010/ballboard/state.c b/projects/microb2010/ballboard/state.c index 9568be8..0492e18 100644 --- a/projects/microb2010/ballboard/state.c +++ b/projects/microb2010/ballboard/state.c @@ -94,6 +94,7 @@ static void state_debug_wait_key_pressed(void) int8_t state_set_mode(uint8_t mode) { state_mode = mode; + STMCH_DEBUG("%s(): mode=%x ", __FUNCTION__, mode); /* STMCH_DEBUG("%s(): l_deploy=%d l_harvest=%d " */ /* "r_deploy=%d r_harvest=%d eject=%d", */ @@ -135,6 +136,7 @@ static void state_do_harvest(void) static void state_do_eject(void) { roller_reverse(); + time_wait_ms(2000); } /* main state machine */