Skip to content

Commit 725fd3e

Browse files
committed
Reconfigure base if user changes RTCM message rates
1 parent bf6935f commit 725fd3e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Firmware/RTK_Surveyor/System.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ bool commandSupported(const uint32_t key)
552552
}
553553
if (commandNumber == MAX_UBX_CMD)
554554
{
555-
systemPrintln("commandSupported: Unknown command key 0x%02X\r\n", key);
555+
systemPrintf("commandSupported: Unknown command key 0x%02X\r\n", key);
556556
commandSupported = false;
557557
}
558558
else

Firmware/RTK_Surveyor/menuMessages.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,10 @@ void menuMessagesBaseRTCM()
267267
int incoming = getNumber(); //Returns EXIT, TIMEOUT, or long
268268

269269
if (incoming == 1)
270+
{
270271
menuMessagesSubtype(settings.ubxMessageRatesBase, "RTCM-Base");
272+
restartBase = true;
273+
}
271274
else if (incoming == 2)
272275
{
273276
settings.ubxMessageRatesBase[getMessageNumberByName("UBX_RTCM_1005")] = 1; //1105

0 commit comments

Comments
 (0)