From fcfc596506a715c689e47abcd598298d0fa24fd5 Mon Sep 17 00:00:00 2001 From: Joerg Lehmann Date: Wed, 3 Jun 2020 08:56:10 +0200 Subject: [PATCH] increase timeout from 300 to 900 seconds --- mini-beieli-node.ino | 4 ++-- mini_beieli_node.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mini-beieli-node.ino b/mini-beieli-node.ino index 81aaade..16f4cad 100644 --- a/mini-beieli-node.ino +++ b/mini-beieli-node.ino @@ -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(); diff --git a/mini_beieli_node.h b/mini_beieli_node.h index d01e150..73a2c83 100644 --- a/mini_beieli_node.h +++ b/mini_beieli_node.h @@ -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;