summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/getsamples_cb.c
diff options
context:
space:
mode:
authorJérémy Dufour2008-04-25 00:20:37 +0200
committerJérémy Dufour2008-04-25 00:20:37 +0200
commit82d914b99afc71562d6fa36bcc98528947657e37 (patch)
treef5b1032f8bed5ee8d8a9c0c19bcb905cb0fb6488 /digital/io/src/getsamples_cb.c
parent4d88c551ef61836af59f86ca1dd41c47ed2ead9a (diff)
* digital/io/src
- ensure event is reset after being posted ; - use 0xFF value for not an event rather than 0 (it prevents the dirty fix to add 1 to the event).
Diffstat (limited to 'digital/io/src/getsamples_cb.c')
-rw-r--r--digital/io/src/getsamples_cb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/digital/io/src/getsamples_cb.c b/digital/io/src/getsamples_cb.c
index 48b3a520..69a886ea 100644
--- a/digital/io/src/getsamples_cb.c
+++ b/digital/io/src/getsamples_cb.c
@@ -117,7 +117,7 @@ fsm_branch_t
getsamples__CLOSE_INPUT_HOLE__arm_move_succeed (void)
{
/* Tell the top FSM we have finished */
- main_post_event_for_top_fsm = TOP_EVENT_get_samples_fsm_finished + 1;
+ main_post_event_for_top_fsm = TOP_EVENT_get_samples_fsm_finished;
return getsamples_next (CLOSE_INPUT_HOLE, arm_move_succeed);
}