From 6f66278e2b880dfa3e07f432800443ec6328e2a0 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Fri, 10 May 2024 02:24:08 +0200 Subject: [PATCH] awaitRobotIdle --- TCPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 41e92a4..5f48675 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -816,7 +816,7 @@ int TCPServer::awaitRobotIdle() { timeout++; if (timeout > 80) { this->broadcastMessage("strat;arduino;clear;1"); - return -2; + return 1; } } return 0;