Skip to content

Commit

Permalink
Merge pull request #20 from blackcoffeexbt/wifi-connection-fix
Browse files Browse the repository at this point in the history
Fix Wifi connection timeout bug
  • Loading branch information
blackcoffeexbt authored Oct 31, 2023
2 parents 62f3fa0 + 976897f commit 22590ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nostrZapLamp/nostrZapLamp.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 22590ed

Please sign in to comment.