From 00305a48837b665b2a969b1681f675c890868f6a Mon Sep 17 00:00:00 2001 From: Julien Balleyguier Date: Mon, 7 May 2012 14:17:45 +0200 Subject: digital/io-hub/src/guybrush: Starting the FSM in "Clamp Start" state --- digital/io-hub/src/guybrush/bottom_clamp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/digital/io-hub/src/guybrush/bottom_clamp.c b/digital/io-hub/src/guybrush/bottom_clamp.c index b54d3cf8..4cd0323e 100644 --- a/digital/io-hub/src/guybrush/bottom_clamp.c +++ b/digital/io-hub/src/guybrush/bottom_clamp.c @@ -106,7 +106,7 @@ FSM_EVENTS ( ) -FSM_START_WITH (CLAMP_IDLE) +FSM_START_WITH (CLAMP_START) /*------------------------------------- TIMEOUT DEFINITION @@ -238,7 +238,7 @@ FSM_TRANS (CLAMP_IDLE, coin_detected, CLAMP_TAKE_COIN) IO_SET (OUTPUT_LOWER_CLAMP_1_CLOSE); } /*If the clamp 2 is ready*/ - else + else { IO_SET(OUTPUT_LOWER_CLAMP_2_CLOSE); } @@ -361,7 +361,7 @@ FSM_TRANS (READY_TO_EMPTY_TREE, empty_tree, CLOSE_ALL_CLAMPS) { /*Closgin bottom clamp. */ IO_SET (OUTPUT_LOWER_CLAMP_1_CLOSE); - /*We need to close both clamp to have an easier turn around. */ + /*We need to close both clamp to have an easier turn around. */ IO_SET (OUTPUT_LOWER_CLAMP_2_CLOSE); -- cgit v1.2.3