aboutsummaryrefslogtreecommitdiff
path: root/robot/hypervisor.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-14 10:26:49 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-14 10:26:49 +0200
commit11b6d9fb523d6c248e8593c7ac2ad1e6ca4e4b15 (patch)
tree13de592de8899a420e9fcc48af4e03d88c58bc3c /robot/hypervisor.c
parent7d93c32e2458a8aba484366b4814db5574015fc7 (diff)
clang-format
Diffstat (limited to 'robot/hypervisor.c')
-rw-r--r--robot/hypervisor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/robot/hypervisor.c b/robot/hypervisor.c
index 2e263ce..6b32776 100644
--- a/robot/hypervisor.c
+++ b/robot/hypervisor.c
@@ -1,6 +1,6 @@
+#include "hypervisor.h"
#include "consts.h"
#include "errcatch.h"
-#include "hypervisor.h"
#include "io.h"
#include "modes.h"
#include "orangutan_shim.h"
@@ -18,14 +18,14 @@ void w2_hypervisor_main() {
w2_modes_main();
unsigned long mode_time = get_ms() - io_time;
- #ifdef W2_SIM
+#ifdef W2_SIM
siminfo("sercomm: %lums\n", sercomm_time);
siminfo("errcatch: %lums\n", errcatch_time);
siminfo("io: %lums\n", io_time);
siminfo("mode: %lums\n", mode_time);
usleep(100e3);
- #endif
+#endif
if (mode_time > W2_MAX_MODULE_CYCLE_MS) w2_errcatch_throw(W2_ERR_CYCLE_EXPIRED);
}