From 064deb14701108ba74ed8956adde1c4ac8b3d93c Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Wed, 23 Apr 2008 11:00:58 +0200 Subject: * digital/io/src - main_loop always notices top FSM about jack states change. --- digital/io/src/top.fsm | 6 ++---- digital/io/src/top_cb.c | 8 ++------ 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); } -- cgit v1.2.3