Skip to content

Commit

Permalink
Double flash
Browse files Browse the repository at this point in the history
  • Loading branch information
gmag11 committed Nov 29, 2020
1 parent c625ca9 commit 9274580
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ledFlasher/ledFlasher.ino
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void loop () {
timeval currentTime;
gettimeofday (&currentTime, NULL);
int64_t us = NTP.micros () % 1000000L;
digitalWrite (LED_BUILTIN, !(us >= 0 && us < 10000));
digitalWrite (LED_BUILTIN, !((us >= 0 && us < 10000) || (us >= 150000 && us < 160000)));
if (syncEventTriggered) {
syncEventTriggered = false;
processSyncEvent (ntpEvent);
Expand Down

0 comments on commit 9274580

Please sign in to comment.