Skip to content

Commit

Permalink
Correct return from NTP.waitSet() (#2736)
Browse files Browse the repository at this point in the history
Fixes #2735
  • Loading branch information
timw01 authored Jan 5, 2025
1 parent ec528d3 commit 8caa590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/WiFi/src/WiFiNTP.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class NTPClass {
cb();
}
}
return time(nullptr) < 10000000;
return time(nullptr) >= 10000000;
}

bool running() {
Expand Down

0 comments on commit 8caa590

Please sign in to comment.