From ce21dcbfbf3f18fc289af792fd1f6f623f25af53 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Fri, 3 May 2024 10:33:59 +0200 Subject: [PATCH] remove timeout --- TCPServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index d995031..c791fa4 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -731,10 +731,10 @@ void TCPServer::awaitRobotIdle() { usleep(100'000); this->sendToClient("strat;arduino;get state;1\n", this->arduinoSocket); timeout++; - if (timeout > 30) { + /*if (timeout > 30) { this->broadcastMessage("strat;arduino;clear;1"); break; - } + }*/ } }