Skip to content

Commit 307e87f

Browse files
committed
LG290P: apply GNSS defaults after reset for firmware update
1 parent 65fc6b4 commit 307e87f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Firmware/RTK_Everywhere/menuSystem.ino

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,13 +608,20 @@ void menuDebugHardware()
608608
else if (present.gnss_lg290p)
609609
{
610610
systemPrintln();
611-
systemPrintf("QGNSS must be connected to CH342 Port B at %dbps. Begin firmware update from QGNSS (hit "
612-
"the play button) then reset the LG290P.\r\n",
611+
systemPrintf("QGNSS must be connected to CH342 Port B at %dbps.\r\n",
613612
settings.dataPortBaud);
613+
systemPrintf("Begin firmware update from QGNSS (hit the play button) "
614+
"then reset the LG290P using menu choice %d.\r\n",
615+
incoming);
614616
gnssReset();
615617
delay(100);
616618
gnssBoot();
617619
systemPrintln("LG290P reset complete.");
620+
gnssConfigureDefaults(); // Set all bits in the request bitfield to cause the GNSS receiver to go
621+
// through a full (re)configuration
622+
recordSystemSettings(); // Record these settings to unit
623+
systemPrintln("GNSS defaults have been applied. GNSS will be configured when you exit the menu.");
624+
systemPrintln("Wait for the update to complete. Then exit the menu.");
618625
}
619626
}
620627
else if (incoming == 14)

0 commit comments

Comments
 (0)