diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-09 17:17:53 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-09 17:17:53 +0200 |
commit | 32237bc52d1dd69d60dda75ddc29bb31ce165c83 (patch) | |
tree | aff899e8b09f7a1b66e06eb4769548ca12169557 /robot/modes.c | |
parent | be84308e01ecc9e8de2997ab030420b401e06596 (diff) |
implement setup and hypervisor
Diffstat (limited to 'robot/modes.c')
-rw-r--r-- | robot/modes.c | 5 |
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)(); } |