summaryrefslogtreecommitdiff
path: root/robot/hypervisor.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-17 19:26:21 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-17 20:33:34 +0200
commitf00fca5f6f9751b16d868f52bda908c7b4704457 (patch)
treefd806de2831cbbda07eb84bf74399f7b2b4db112 /robot/hypervisor.c
parent2811447fb6c42b72c04abfc557edf270d4936a97 (diff)
changed error code names following @FlamingHotToast's suggestion
Diffstat (limited to 'robot/hypervisor.c')
-rw-r--r--robot/hypervisor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/robot/hypervisor.c b/robot/hypervisor.c
index 6b32776..dbdc62a 100644
--- a/robot/hypervisor.c
+++ b/robot/hypervisor.c
@@ -27,5 +27,5 @@ void w2_hypervisor_main() {
usleep(100e3);
#endif
- if (mode_time > W2_MAX_MODULE_CYCLE_MS) w2_errcatch_throw(W2_ERR_CYCLE_EXPIRED);
+ if (mode_time > W2_MAX_MODULE_CYCLE_MS) w2_errcatch_throw(W2_E_WARN_CYCLE_EXPIRED);
}