File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -715,6 +715,7 @@ void beginBoard()
715715 present.antennaPhaseCenter_mm = 37.5 ; // APC of SPK-6E helical L1/L2/L5 antenna
716716 present.needsExternalPpl = true ; // Uses the PointPerfect Library
717717 present.gnss_to_uart = true ;
718+ present.gnssUpdatePort = " CH342 Channel B" ;
718719
719720 // The following are present on the optional shield. Devices will be marked offline if shield is not present.
720721 present.charger_mcp73833 = true ;
@@ -874,6 +875,7 @@ void beginBoard()
874875 present.needsExternalPpl = true ; // Uses the PointPerfect Library
875876 present.fastPowerOff = true ;
876877 present.invertedFastPowerOff = true ; // Drive PWRKILL high to cause powerdown
878+ present.gnssUpdatePort = " CH342 Channel A" ;
877879
878880 // We can't enable GNSS features here because we don't know if lg290pFirmwareVersion is >= v05
879881 // present.minElevation = true;
Original file line number Diff line number Diff line change @@ -608,7 +608,8 @@ void menuDebugHardware()
608608 else if (present.gnss_lg290p )
609609 {
610610 systemPrintln ();
611- systemPrintf (" QGNSS must be connected to CH342 Port B at %dbps.\r\n " ,
611+ systemPrintf (" QGNSS must be connected to %s at %dbps.\r\n " ,
612+ present.gnssUpdatePort ,
612613 settings.dataPortBaud );
613614 systemPrintf (" Begin firmware update from QGNSS (hit the play button) "
614615 " then reset the LG290P using menu choice %d.\r\n " ,
Original file line number Diff line number Diff line change @@ -1968,6 +1968,8 @@ struct struct_present
19681968 bool dynamicModel = false ; // ZED, mosaic, UM980 have dynamic models. LG290P does not.
19691969 bool gpioExpanderSwitches = false ; // Used on Flex
19701970 bool tiltPossible = false ; // Flex may have a tilt IMU
1971+
1972+ const char *gnssUpdatePort = " " ; // "CH342 Channel A" etc.
19711973} present;
19721974
19731975// Monitor which devices on the device are on or offline.
You can’t perform that action at this time.
0 commit comments