From 833066f91ec3889e8ccd496c5268f15ce1174819 Mon Sep 17 00:00:00 2001 From: Jérémy Dufour Date: Fri, 25 Apr 2008 01:41:43 +0200 Subject: * digital/io/src - correct twi buffer length (thanks to ni) ; - close rear panel when inserting the jack. --- digital/io/src/top_cb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'digital/io/src/top_cb.c') diff --git a/digital/io/src/top_cb.c b/digital/io/src/top_cb.c index f4f44f0b..e1fef778 100644 --- a/digital/io/src/top_cb.c +++ b/digital/io/src/top_cb.c @@ -30,6 +30,7 @@ #include "playground.h" /* PG_* */ #include "asserv.h" /* asserv_* */ #include "chrono.h" /* chrono_init */ +#include "trap.h" /* trap_close_rear_panel */ /* AVR include, non HOST */ #ifndef HOST # include "switch.h" /* switch_get_color */ @@ -242,6 +243,9 @@ top__GET_ICE_FROM_ADVERSE_ICE_DISTRIBUTOR__get_samples_fsm_finished (void) fsm_branch_t top__WAIT_JACK_IN__jack_inserted_into_bot (void) { + /* TODO: move the arm to reset to 0 */ + /* Close the rear panel */ + trap_close_rear_panel (); return top_next (WAIT_JACK_IN, jack_inserted_into_bot); } -- cgit v1.2.3