Skip to content

Commit 996307f

Browse files
committed
Fix version check and apply GNSS configuration for M8+ gps
Should address Galileo setting for M8 and M9 GPS in #9123. M10 requires additional changes in #9124.
1 parent a6f1364 commit 996307f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/io/gps_ublox.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ STATIC_PROTOTHREAD(gpsConfigure)
979979
ptWaitTimeout((_ack_state == UBX_ACK_GOT_ACK || _ack_state == UBX_ACK_GOT_NAK), GPS_CFG_CMD_TIMEOUT_MS);
980980

981981
// Configure GNSS for M8N and later
982-
if (gpsState.hwVersion >= 80000) {
982+
if (gpsState.hwVersion >= UBX_HW_VERSION_UBLOX8) {
983983
gpsSetProtocolTimeout(GPS_SHORT_TIMEOUT);
984984
configureGNSS();
985985
ptWaitTimeout((_ack_state == UBX_ACK_GOT_ACK || _ack_state == UBX_ACK_GOT_NAK), GPS_CFG_CMD_TIMEOUT_MS);

0 commit comments

Comments
 (0)