robot idle

This commit is contained in:
ackimixs
2024-05-06 19:00:56 +02:00
parent b8b5f11b4d
commit 36bf84a8c7

View File

@@ -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++;