@@ -1241,6 +1241,10 @@ uint32_t GNSS_LG290P::getDataBaudRate()
1241
1241
// This is nicknamed the DATA port
1242
1242
dataUart = 3 ;
1243
1243
}
1244
+ else
1245
+ {
1246
+ systemPrintln (" getDataBaudRate: Uncaught platform" );
1247
+ }
1244
1248
return (getBaudRate (dataUart));
1245
1249
}
1246
1250
@@ -1263,20 +1267,20 @@ bool GNSS_LG290P::setDataBaudRate(uint32_t baud)
1263
1267
// This is nicknamed the DATA port
1264
1268
return (setBaudRate (1 , baud));
1265
1269
}
1266
- }
1267
- else if (productVariant == RTK_TORCH_X2)
1268
- {
1269
- if (getDataBaudRate () != baud)
1270
+ else if (productVariant == RTK_TORCH_X2)
1270
1271
{
1271
- // UART3 of the LG290P is connected to USB CH342 (Port A)
1272
- // This is nicknamed the DATA port
1273
- return (setBaudRate (3 , baud));
1272
+ if (getDataBaudRate () != baud)
1273
+ {
1274
+ // UART3 of the LG290P is connected to USB CH342 (Port A)
1275
+ // This is nicknamed the DATA port
1276
+ return (setBaudRate (3 , baud));
1277
+ }
1278
+ }
1279
+ else
1280
+ {
1281
+ // On products that don't have a DATA port (Flex), act as if we have set the baud successfully
1282
+ return (true );
1274
1283
}
1275
- }
1276
- else
1277
- {
1278
- // On products that don't have a DATA port (Flex), act as if we have set the baud successfully
1279
- return (true );
1280
1284
}
1281
1285
}
1282
1286
return (false );
@@ -1948,9 +1952,9 @@ void GNSS_LG290P::menuMessages()
1948
1952
1949
1953
setRtcmRoverMessageRates (0 ); // Turn off all RTCM messages
1950
1954
setRtcmRoverMessageRateByName (" RTCM3-1019" , rtcmReportRate);
1951
- setRtcmRoverMessageRateByName (" RTCM3-1020" , rtcmReportRate); // Not needed when MSM7 is used
1955
+ // setRtcmRoverMessageRateByName("RTCM3-1020", rtcmReportRate); //Not needed when MSM7 is used
1952
1956
// setRtcmRoverMessageRateByName("RTCM3-1042", rtcmReportRate); //BeiDou not used by CSRS-PPP
1953
- setRtcmRoverMessageRateByName (" RTCM3-1046" , rtcmReportRate); // Not needed when MSM7 is used
1957
+ // setRtcmRoverMessageRateByName("RTCM3-1046", rtcmReportRate); //Not needed when MSM7 is used
1954
1958
setRtcmRoverMessageRateByName (" RTCM3-107X" , rtcmReportRate);
1955
1959
setRtcmRoverMessageRateByName (" RTCM3-108X" , rtcmReportRate);
1956
1960
setRtcmRoverMessageRateByName (" RTCM3-109X" , rtcmReportRate);
0 commit comments