From cb9ddc2d8162ac2ec0d82579657b984335ec9aef Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 1 Apr 2010 23:57:40 +0200 Subject: digital/io/src: use one FSM with several active states, closes #83 --- digital/io/src/main.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'digital/io/src/main.h') diff --git a/digital/io/src/main.h b/digital/io/src/main.h index 92793fcc..8791d5ed 100644 --- a/digital/io/src/main.h +++ b/digital/io/src/main.h @@ -28,7 +28,7 @@ /** * Post a event to the top FSM in the next iteration of main loop. * You just need to set variable to the value of the event you want to post to - * the top FSM and add one to it (because some event could have a zero value). + * the top FSM. * It will be posted and cleared in the next main loop iteration. */ extern uint8_t main_post_event_for_top_fsm; @@ -40,18 +40,4 @@ extern uint8_t main_post_event_for_top_fsm; */ extern uint16_t main_sharp_ignore_event; -/** - * Post an event for the main loop to wake up the move FSM in a certain count - * of cycles. - * This flag is used by the move FSM to wait a certain amount of time before - * checking on the sharps again. - */ -extern uint16_t main_move_wait_cycle; - -/** - * Post an event for the init loop to wait a certain amount of time before - * make any move - */ -extern uint16_t main_init_wait_cycle; - #endif /* main_h */ -- cgit v1.2.3