summaryrefslogtreecommitdiff
path: root/robot/sercomm.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-04 18:42:31 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-04 18:42:31 +0200
commit4fed6f532cb9c990e0a30c3e541f63b3a39383ab (patch)
tree86f8b61e64df7b0387a24859133b2ca13489b41c /robot/sercomm.c
parent595763efb64ee861f3ccf458ff35992b94f2fa3a (diff)
slow down motors when disconnected
Diffstat (limited to 'robot/sercomm.c')
-rw-r--r--robot/sercomm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/robot/sercomm.c b/robot/sercomm.c
index 6e191d2..f14832a 100644
--- a/robot/sercomm.c
+++ b/robot/sercomm.c
@@ -93,10 +93,6 @@ void w2_cmd_ping_tx(w2_s_bin *data) {
g_w2_ping_received = true;
g_w2_ping_timeout = false;
g_w2_connected = true;
-
- char buf[32];
- sprintf(buf, "rec: %i, tim: %i, con: %i", g_w2_ping_received, g_w2_ping_timeout, g_w2_connected);
- w2_errcatch_throw_msg(0x69, strlen(buf), buf);
}
void w2_cmd_ping_rx(w2_s_bin *data) {