summaryrefslogtreecommitdiff
path: root/robot/modes.c
diff options
context:
space:
mode:
Diffstat (limited to 'robot/modes.c')
-rw-r--r--robot/modes.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/robot/modes.c b/robot/modes.c
index c5b979c..c22875c 100644
--- a/robot/modes.c
+++ b/robot/modes.c
@@ -1,3 +1,6 @@
#include "modes.h"
+#include "halt.h"
-void w2_modes_main() {}
+void (*g_w2_current_mode)() = &w2_mode_halt;
+
+void w2_modes_main() { (*g_w2_current_mode)(); }