Skip to content

Commit

Permalink
Correct basicExample.ino #51
Browse files Browse the repository at this point in the history
  • Loading branch information
gmag11 authored Nov 15, 2023
1 parent 796077d commit 2666fd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/basicExample/basicExample.ino
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ void setup() {
void loop() {
static int last = 0;

if ((millis () - last) > SHOW_TIME_PERIOD) {
if ((millis () - last) >= SHOW_TIME_PERIOD) {
last = millis ();
Serial.println (NTP.getTimeDateStringUs ());
}
}
}

0 comments on commit 2666fd8

Please sign in to comment.