summaryrefslogtreecommitdiff
path: root/digital/io-hub/src
diff options
context:
space:
mode:
authorJulien Balleyguier2012-05-07 14:17:45 +0200
committerJulien Balleyguier2012-05-07 14:17:45 +0200
commit00305a48837b665b2a969b1681f675c890868f6a (patch)
tree38d496a2c619fed4f76dee82b262a022c13d6f60 /digital/io-hub/src
parent0d91454cd0a21691e4edb4c353d89a9b6c9ab99c (diff)
digital/io-hub/src/guybrush: Starting the FSM in "Clamp Start" state
Diffstat (limited to 'digital/io-hub/src')
-rw-r--r--digital/io-hub/src/guybrush/bottom_clamp.c6
1 files 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);