summaryrefslogtreecommitdiffhomepage
path: root/digital
diff options
context:
space:
mode:
Diffstat (limited to 'digital')
-rw-r--r--digital/io/src/top.fsm6
-rw-r--r--digital/io/src/top_cb.c8
2 files changed, 4 insertions, 10 deletions
diff --git a/digital/io/src/top.fsm b/digital/io/src/top.fsm
index cf125bb3..24a3b1fd 100644
--- a/digital/io/src/top.fsm
+++ b/digital/io/src/top.fsm
@@ -54,13 +54,11 @@ Events:
IDLE:
start -> WAIT_JACK_IN
- tell the main loop we want to be informed when the jack is inserted into the
- bot
+ wait for the jack to be inserted into the bot
WAIT_JACK_IN:
jack_inserted_into_bot -> WAIT_JACK_OUT
- tell the main loop we want to be informed when the jack is removed from the
- bot
+ wait for the jack to be removed from the bot
WAIT_JACK_OUT:
jack_removed_from_bot -> CONFIGURE_ASSERV
diff --git a/digital/io/src/top_cb.c b/digital/io/src/top_cb.c
index a1bdee4a..65754f90 100644
--- a/digital/io/src/top_cb.c
+++ b/digital/io/src/top_cb.c
@@ -155,13 +155,11 @@ top__GO_TO_SAMPLE_DISTRIBUTOR__move_fsm_finished (void)
/*
* IDLE =start=>
* => WAIT_JACK_IN
- * tell the main loop we want to be informed when the jack is inserted into the
- * bot
+ * wait for the jack to be inserted into the bot
*/
fsm_branch_t
top__IDLE__start (void)
{
- /* TODO */
return top_next (IDLE, start);
}
@@ -223,13 +221,11 @@ top__GET_ICE_FROM_ADVERSE_ICE_DISTRIBUTOR__get_samples_fsm_finished (void)
/*
* WAIT_JACK_IN =jack_inserted_into_bot=>
* => WAIT_JACK_OUT
- * tell the main loop we want to be informed when the jack is removed from the
- * bot
+ * wait for the jack to be removed from the bot
*/
fsm_branch_t
top__WAIT_JACK_IN__jack_inserted_into_bot (void)
{
- /* TODO */
return top_next (WAIT_JACK_IN, jack_inserted_into_bot);
}