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