Skip to content

Commit

Permalink
Fixed blink timer
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbig committed Jun 17, 2016
1 parent 926aee1 commit 53daa91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statusled.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void StatusLED::tick() {
// Short pings when reception acquired
if (pos == 0) analogWrite(CFG_LED_STATUS, GPS::isNight() ? 900 : 1);
else analogWrite(CFG_LED_STATUS, 1023);
if (++pos >= 15) pos = 0;
if (++pos >= 150) pos = 0;
}
}

0 comments on commit 53daa91

Please sign in to comment.