summaryrefslogtreecommitdiffhomepage
path: root/digital/io-hub/src/apbirthday/top.cc
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub/src/apbirthday/top.cc')
-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 8c401014..d3a39a99 100644
--- a/digital/io-hub/src/apbirthday/top.cc
+++ b/digital/io-hub/src/apbirthday/top.cc
@@ -663,7 +663,7 @@ FSM_TRANS (TOP_PLATE_LEAVE, move_failure, TOP_DECISION)
FSM_TRANS (TOP_CANNON_GOTO, move_success, TOP_CANNON_FIRING)
{
- ANGFSM_HANDLE (AI, cannon_fire);
+ robot->cannon.fire (robot->plate.get_plate_nb ());
}
FSM_TRANS (TOP_CANNON_GOTO, move_failure, TOP_DECISION)
@@ -822,6 +822,6 @@ FSM_TRANS (TOP_DEMO_PLATE_UP, top_demo_plate, TOP_DEMO_PLATE_DOWN)
FSM_TRANS (TOP_DEMO_PLATE_DOWN, top_demo_plate, TOP_INIT_ACTUATORS)
{
- ANGFSM_HANDLE (AI, cannon_fire);
+ robot->cannon.fire ();
}