summaryrefslogtreecommitdiffhomepage
path: root/digital/io/src/top_cb.c
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io/src/top_cb.c')
-rw-r--r--digital/io/src/top_cb.c4
1 files changed, 4 insertions, 0 deletions
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);
}