increase timeout from 300 to 900 seconds
This commit is contained in:
parent
59ce7ee44d
commit
fcfc596506
|
|
@ -688,12 +688,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 900 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) < 900000))
|
||||
{
|
||||
gCatena.poll();
|
||||
yield();
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ enum {
|
|||
|
|
||||
\****************************************************************************/
|
||||
|
||||
static const int32_t fwVersion = 20200602;
|
||||
static const int32_t fwVersion = 20200603;
|
||||
|
||||
static const byte INIT_PACKAGE_INTERVAL = 100; // send an init package every 100 packages;
|
||||
static const byte MAX_VALUES_TO_SEND = 8;
|
||||
|
|
|
|||
Loading…
Reference in New Issue