wait longer for sending to happen
This commit is contained in:
parent
3028836e2f
commit
592bccdeb5
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue