aboutsummaryrefslogtreecommitdiff
path: root/robot/mode_halt.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-07 22:23:14 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-07 22:23:14 +0200
commit377a6b80fb766995566bd77047eef08e0a4b5aae (patch)
treece70846c12d7426f9550f6dc2a88e49397f4bd52 /robot/mode_halt.c
parent3e65c70da770fa31fc8acc6ab9374d908cf1ed17 (diff)
implement mode switching tab
Diffstat (limited to 'robot/mode_halt.c')
-rw-r--r--robot/mode_halt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/robot/mode_halt.c b/robot/mode_halt.c
index 88d6183..bc501a2 100644
--- a/robot/mode_halt.c
+++ b/robot/mode_halt.c
@@ -1,3 +1,6 @@
#include "mode_halt.h"
+#include "orangutan_shim.h"
-void w2_mode_halt() { return; }
+void w2_mode_halt() {
+ set_motors(0, 0);
+}