wait longer for sending to happen

This commit is contained in:
Joerg Lehmann 2020-06-29 17:09:11 +02:00
parent 3028836e2f
commit 592bccdeb5
1 changed files with 2 additions and 2 deletions

View File

@ -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();