mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-04 04:33:59 -04:00
AP_GPS: fixed TMODE config issue on non-F9 GPS
thanks to Michel Pastor for reporting this
This commit is contained in:
parent
16036b6dff
commit
ffe642a530
@ -898,6 +898,10 @@ AP_GPS_UBLOX::_parse_gps(void)
|
|||||||
// check for F9. The F9 does not respond to SVINFO, so we need to use MON_VER
|
// check for F9. The F9 does not respond to SVINFO, so we need to use MON_VER
|
||||||
// for hardware generation
|
// for hardware generation
|
||||||
if (strncmp(_version.hwVersion, "00190000", 8) == 0) {
|
if (strncmp(_version.hwVersion, "00190000", 8) == 0) {
|
||||||
|
if (_hardware_generation != UBLOX_F9) {
|
||||||
|
// need to ensure time mode is correctly setup on F9
|
||||||
|
_unconfigured_messages |= CONFIG_TMODE_MODE;
|
||||||
|
}
|
||||||
_hardware_generation = UBLOX_F9;
|
_hardware_generation = UBLOX_F9;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user