From be74a768fbabeaef66a02dee795298971544611b Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 20 Jan 2021 10:44:10 +0100 Subject: [PATCH] Update support_wifi.ino Correct inifinite loop as timeout would never trigger --- tasmota/support_wifi.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/support_wifi.ino b/tasmota/support_wifi.ino index c56b93e49..4c37b074a 100644 --- a/tasmota/support_wifi.ino +++ b/tasmota/support_wifi.ino @@ -228,9 +228,9 @@ void WifiBegin(uint8_t flag, uint8_t channel) AddLog_P(LOG_LEVEL_INFO, PSTR(D_LOG_WIFI "Got IPv6 global address %s"), addr.toString().c_str()); break; // IPv6 is mandatory but stop after 15 seconds } + delay(500); // Loop until real IPv6 address is aquired or too many tries failed + cfgcnt++; } - delay(500); // Loop until real IPv6 address is aquired or too many tries failed - cfgcnt++; } #endif // LWIP_IPV6=1 }