From 32237bc52d1dd69d60dda75ddc29bb31ce165c83 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 9 May 2022 17:17:53 +0200 Subject: implement setup and hypervisor --- robot/modes.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'robot/modes.c') 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)(); } -- cgit v1.2.3