summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schodet2012-05-15 17:07:16 +0200
committerNicolas Schodet2012-05-15 20:48:26 +0200
commit51dd7db15059169694aca2cda117717ee0e20a43 (patch)
tree90cefa56ecc123aa6e35193eeef685cf7c18ceea
parent4ec5ac6c5d7cca22933e947bedeb0fcf135587fb (diff)
Revert "digital/io-hub/src/guybrush: ugly hack to pick cleaned coins"
This reverts commit c156befa26b7b32aea48a45db1a26d31b4e8b1a2. Actually first version was better.
-rw-r--r--digital/io-hub/src/guybrush/bottom_clamp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/digital/io-hub/src/guybrush/bottom_clamp.c b/digital/io-hub/src/guybrush/bottom_clamp.c
index 0fb1e24b..c4f58857 100644
--- a/digital/io-hub/src/guybrush/bottom_clamp.c
+++ b/digital/io-hub/src/guybrush/bottom_clamp.c
@@ -402,11 +402,8 @@ FSM_TRANS_TIMEOUT (CLAMP_CATCH_COIN, TIMEOUT_CLOSE_CLAMPS*2,CLAMP_READY_TO_LOAD)
return FSM_NEXT_TIMEOUT(CLAMP_CATCH_COIN);
}
-FSM_TRANS (CLAMP_READY_TO_LOAD, clean_load, CLAMP_OPEN_UPPER_CLAMPS)
+FSM_TRANS (CLAMP_READY_TO_LOAD, clean_load,CLAMP_TAKE_COIN)
{
- /* Hugly hack until Julien can make this better. */
- ctx.pos_current += (HIDE_POS_TREE + BACK_TO_READY_TREE
- + HIDE_POS_TREE_2) * 250;
return FSM_NEXT(CLAMP_READY_TO_LOAD,clean_load);
}