aboutsummaryrefslogtreecommitdiff
path: root/robot/hypervisor.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-09 14:58:59 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-09 14:58:59 +0200
commitbe84308e01ecc9e8de2997ab030420b401e06596 (patch)
tree1efcc385a197800e2b26497e16bf0e59d9e5265f /robot/hypervisor.c
parentc30c9250c18513899cee2ddc35071d98d36a7470 (diff)
added boilerplate source and header files
Diffstat (limited to 'robot/hypervisor.c')
-rw-r--r--robot/hypervisor.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/robot/hypervisor.c b/robot/hypervisor.c
new file mode 100644
index 0000000..db0700d
--- /dev/null
+++ b/robot/hypervisor.c
@@ -0,0 +1,16 @@
+#include "hypervisor.h"
+#include "errcatch.h"
+#include "io.h"
+#include "modes.h"
+#include "sercomm.h"
+
+void w2_hypervisor_main() {
+ w2_sercomm_main();
+ w2_errcatch_main();
+ w2_io_main();
+
+ // start timer
+ w2_modes_main();
+ // stop timer
+ // throw error if cycle expired
+}