Skip to content

Commit e9fac2b

Browse files
Lee LeahyLeeLeahy2
authored andcommitted
Periodic display of MQTT client data
1 parent 388670d commit e9fac2b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Firmware/RTK_Everywhere/System.ino

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,11 @@ void printReports()
356356
lastPrintPosition = millis();
357357
}
358358

359-
if (settings.enablePrintRoverAccuracy && (millis() - lastPrintRoverAccuracy > 2000))
359+
if ((settings.enablePrintRoverAccuracy && (millis() - lastPrintRoverAccuracy > 2000))
360+
|| (PERIODIC_DISPLAY(PD_MQTT_CLIENT_DATA)))
360361
{
361362
lastPrintRoverAccuracy = millis();
363+
PERIODIC_CLEAR(PD_MQTT_CLIENT_DATA);
362364

363365
if (online.gnss == true)
364366
{
@@ -840,4 +842,4 @@ void trim(char *str)
840842
++p, --l;
841843

842844
memmove(str, p, l + 1);
843-
}
845+
}

0 commit comments

Comments
 (0)