summaryrefslogtreecommitdiffhomepage
path: root/digital/io-hub
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub')
-rw-r--r--digital/io-hub/src/apbirthday/top.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/digital/io-hub/src/apbirthday/top.cc b/digital/io-hub/src/apbirthday/top.cc
index 47bffa1d..17acc225 100644
--- a/digital/io-hub/src/apbirthday/top.cc
+++ b/digital/io-hub/src/apbirthday/top.cc
@@ -391,12 +391,12 @@ FSM_TRANS (TOP_START, init_actuators, TOP_INIT_ACTUATORS)
if (robot->demo)
robot->lcd.message ("demo mode");
robot->pressure.set (BOT_NORMAL_PRESSURE);
+ robot->hardware.gift_out.reset ();
+ robot->hardware.gift_in.set ();
}
FSM_TRANS (TOP_INIT_ACTUATORS, init_done, TOP_INIT)
{
- robot->hardware.gift_out.reset ();
- robot->hardware.gift_in.set ();
// Color dependent init can go here.
robot->gifts.compute_pos ();
robot->strat.color_init ();