diff --git a/TCPServer.cpp b/TCPServer.cpp index ec30ed5..954e117 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -790,7 +790,7 @@ void TCPServer::awaitRobotIdle() { // ReSharper disable once CppDFAConstantConditions // ReSharper disable once CppDFAEndlessLoop usleep(50'000); - while (isRobotIdle < 3) { + while (isRobotIdle < 2) { usleep(50'000); this->sendToClient("strat;arduino;get state;1\n", this->arduinoSocket); timeout++;