Skip to content

Commit 3a03b58

Browse files
authored
Update NTP_Example.ino
1 parent 47b22ad commit 3a03b58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NTP_Example.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ void setup() {
7676
int counter;
7777
while (WiFi.status() != WL_CONNECTED) {
7878
delay(200);
79-
if (counter++ > 10) ESP.restart();
79+
if (++counter > 10) ESP.restart();
8080
Serial.print ( "." );
8181
}
8282
Serial.println("\n\nWiFi connected\n\n");

0 commit comments

Comments
 (0)