From 976897f0f0449504e42c127c67b1c386ca7d4b6c Mon Sep 17 00:00:00 2001 From: blackcoffeexbt <87530449+blackcoffeexbt@users.noreply.github.com> Date: Tue, 31 Oct 2023 12:34:30 +0000 Subject: [PATCH] Fix Wifi connection timeout bug --- nostrZapLamp/nostrZapLamp.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nostrZapLamp/nostrZapLamp.ino b/nostrZapLamp/nostrZapLamp.ino index a5f04f1..3a4b4ed 100644 --- a/nostrZapLamp/nostrZapLamp.ino +++ b/nostrZapLamp/nostrZapLamp.ino @@ -656,7 +656,7 @@ void setup() { while (WiFi.status() != WL_CONNECTED && wifiConnectTimer < 15000) { delay(100); Serial.print("."); - wifiConnectTimer = wifiConnectTimer + 500; + wifiConnectTimer = wifiConnectTimer + 100; hasInternetConnection = false; } if(WiFi.status() == WL_CONNECTED) {