summaryrefslogtreecommitdiff
path: root/digital/io-hub/src/apbirthday/robot.cc
diff options
context:
space:
mode:
authorNicolas Schodet2013-03-28 23:35:34 +0100
committerNicolas Schodet2013-03-28 23:35:34 +0100
commit8e06e04f0a42d2777d34df8bc2b78606e4447686 (patch)
tree829eccfdd7fcf352da3e3167190a86892b142074 /digital/io-hub/src/apbirthday/robot.cc
parentfcf5225e998e54722a121bee405cdda7be103730 (diff)
digital/io-hub/src/apbirthday: move candle member down
This is a software component, initialise after any hardware.
Diffstat (limited to 'digital/io-hub/src/apbirthday/robot.cc')
-rw-r--r--digital/io-hub/src/apbirthday/robot.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/digital/io-hub/src/apbirthday/robot.cc b/digital/io-hub/src/apbirthday/robot.cc
index dffd954e..6e63b96a 100644
--- a/digital/io-hub/src/apbirthday/robot.cc
+++ b/digital/io-hub/src/apbirthday/robot.cc
@@ -31,13 +31,13 @@
Robot *robot;
Robot::Robot ()
- : candles (1),
- main_i2c_queue_ (hardware.main_i2c),
+ : main_i2c_queue_ (hardware.main_i2c),
asserv (main_i2c_queue_, BOT_SCALE),
dev_proto (*this, hardware.dev_uart),
zb_proto (*this, hardware.zb_uart),
usb_proto (*this, hardware.usb),
chrono (90000 - 1000),
+ candles (1),
fsm_debug_state_ (FSM_DEBUG_RUN),
outputs_set_ (outputs_, lengthof (outputs_)),
stats_proto_ (0),