summaryrefslogtreecommitdiffhomepage
path: root/digital
diff options
context:
space:
mode:
Diffstat (limited to 'digital')
-rw-r--r--digital/io-hub/src/guybrush/top.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/digital/io-hub/src/guybrush/top.c b/digital/io-hub/src/guybrush/top.c
index d556bdd1..85015adb 100644
--- a/digital/io-hub/src/guybrush/top.c
+++ b/digital/io-hub/src/guybrush/top.c
@@ -202,8 +202,6 @@ FSM_TRANS (TOP_START, init_actuators, TOP_INIT_DOOR)
main_demo = !IO_GET (CONTACT_STRAT);
IO_SET (OUTPUT_DOOR_OPEN);
IO_CLR (OUTPUT_DOOR_CLOSE);
- strat_init ();
- strat_prepare ();
return FSM_NEXT (TOP_START, init_actuators);
}
@@ -211,6 +209,8 @@ FSM_TRANS (TOP_INIT_DOOR, init_done, TOP_INIT)
{
IO_CLR (OUTPUT_DOOR_OPEN);
IO_SET (OUTPUT_DOOR_CLOSE);
+ strat_init ();
+ strat_prepare ();
return FSM_NEXT (TOP_INIT_DOOR, init_done);
}