Skip to content

Commit a7864e6

Browse files
committed
Change the way updates are timed
1 parent 16a63c5 commit a7864e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Surveyor/Rover.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ bool updateRoverStatus()
44
//Update the horizontal accuracy LEDs only every second or so
55
if (millis() - lastRoverUpdate > 2000)
66
{
7-
lastRoverUpdate += 2000;
7+
lastRoverUpdate = millis();
88

99
uint32_t accuracy = myGPS.getHorizontalAccuracy(250);
1010

0 commit comments

Comments
 (0)