diff --git a/mini-beieli-node.ino b/mini-beieli-node.ino index 09e9bce..b60cecf 100644 --- a/mini-beieli-node.ino +++ b/mini-beieli-node.ino @@ -693,12 +693,12 @@ void StartNewIteration() { gLed.Set(LedPattern::TwoShort); } - // Loop sending is in progress, timeout just in case after 300 seconds + // Loop sending is in progress, timeout just in case after 600 seconds long start_time = millis(); if (config_data.debug_level > 0) { gCatena.SafePrintf("waiting while send is in progress\n"); } - while (send_in_progress && ((millis() - start_time) < 300000)) + while (send_in_progress && ((millis() - start_time) < 600000)) { gCatena.poll(); yield();