Skip to content

Commit 8caa590

Browse files
authored
Correct return from NTP.waitSet() (earlephilhower#2736)
Fixes earlephilhower#2735
1 parent ec528d3 commit 8caa590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFi/src/WiFiNTP.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class NTPClass {
9191
cb();
9292
}
9393
}
94-
return time(nullptr) < 10000000;
94+
return time(nullptr) >= 10000000;
9595
}
9696

9797
bool running() {

0 commit comments

Comments
 (0)