Skip to content

Commit 23a471c

Browse files
committed
Nicer debug
1 parent e966b80 commit 23a471c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Firmware/RTK_Everywhere/NTP.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -750,17 +750,17 @@ void ntpServerSetState(uint8_t newState)
750750
if ((settings.debugNtp || PERIODIC_DISPLAY(PD_NTP_SERVER_STATE)) && (!inMainMenu))
751751
{
752752
if (ntpServerState == newState)
753-
systemPrint("*");
753+
systemPrint("NTP Server: *");
754754
else
755-
systemPrintf("%s --> ", ntpServerStateName[ntpServerState]);
755+
systemPrintf("NTP Server: %s --> ", ntpServerStateName[ntpServerState]);
756756
}
757757
ntpServerState = newState;
758758
if (settings.debugNtp || PERIODIC_DISPLAY(PD_NTP_SERVER_STATE))
759759
{
760760
PERIODIC_CLEAR(PD_NTP_SERVER_STATE);
761761
if (newState >= NTP_STATE_MAX)
762762
{
763-
systemPrintf("Unknown NTP Server state: %d\r\n", newState);
763+
systemPrintf("Unknown state: %d\r\n", newState);
764764
reportFatalError("Unknown NTP Server state");
765765
}
766766
else if (!inMainMenu)

0 commit comments

Comments
 (0)