kopia lustrzana https://github.com/g7uhn/ft817_buddy
corrected millis values on minutes tickOver
rodzic
4ca4815d40
commit
3aa0e0257e
|
@ -368,7 +368,7 @@ void loop() // MAIN LOOP
|
|||
display.print(buffer);
|
||||
|
||||
// Calculate time value (either uptime or UTC if GPS expansion has updated the values)
|
||||
if ( millis() - tickOver > 60000) {
|
||||
if ( millis() - tickOver > 59999) {
|
||||
if (mm == 59) {
|
||||
hh = (hh + 1) % 24; // If mm == 59, increment hh modulo 24
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue