Skip to content

Commit 043e568

Browse files
authored
Merge pull request #9128 from iNavFlight/mmosca-gps-fix-version-check
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. Just splitting the bug fix from #9124 since it probably requires more testing.
2 parents 93c6281 + 806d0e4 commit 043e568

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)