aboutsummaryrefslogtreecommitdiff
path: root/robot/modes.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-09 17:17:53 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-09 17:17:53 +0200
commit32237bc52d1dd69d60dda75ddc29bb31ce165c83 (patch)
treeaff899e8b09f7a1b66e06eb4769548ca12169557 /robot/modes.c
parentbe84308e01ecc9e8de2997ab030420b401e06596 (diff)
implement setup and hypervisor
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)(); }