summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/main.h
diff options
context:
space:
mode:
authorNicolas Schodet2010-04-01 23:57:40 +0200
committerNicolas Schodet2010-04-01 23:57:40 +0200
commitcb9ddc2d8162ac2ec0d82579657b984335ec9aef (patch)
tree952c6193ffb4b880f71990628a830825cd9d4f6e /digital/io/src/main.h
parent80b3da91dac28a5895a8cb9f0477a7008365dd56 (diff)
digital/io/src: use one FSM with several active states, closes #83
Diffstat (limited to 'digital/io/src/main.h')
-rw-r--r--digital/io/src/main.h16
1 files changed, 1 insertions, 15 deletions
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 */