aboutsummaryrefslogtreecommitdiff
path: root/robot/mode_halt.c
diff options
context:
space:
mode:
Diffstat (limited to 'robot/mode_halt.c')
-rw-r--r--robot/mode_halt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/robot/mode_halt.c b/robot/mode_halt.c
index acd55ee..268a922 100644
--- a/robot/mode_halt.c
+++ b/robot/mode_halt.c
@@ -1,5 +1,6 @@
#include "mode_halt.h"
#include "orangutan_shim.h"
+#include "io.h"
// emergency stop
-void w2_mode_halt() { set_motors(0, 0); }
+void w2_mode_halt() { w2_set_motors(0, 0); }