AP_GPS: fixed ublox configuration
This commit is contained in:
parent
1c73c133a9
commit
dc15cbd513
@ -715,7 +715,7 @@ AP_GPS_UBLOX::_parse_gps(void)
|
||||
_buffer.gnss.configBlock[i].flags = _buffer.gnss.configBlock[i].flags & 0xFFFFFFFE;
|
||||
}
|
||||
}
|
||||
if (!memcmp(&start_gnss, &_buffer.gnss, sizeof(start_gnss))) {
|
||||
if (memcmp(&start_gnss, &_buffer.gnss, sizeof(start_gnss))) {
|
||||
_send_message(CLASS_CFG, MSG_CFG_GNSS, &_buffer.gnss, 4 + (8 * _buffer.gnss.numConfigBlocks));
|
||||
_unconfigured_messages |= CONFIG_GNSS;
|
||||
_cfg_needs_save = true;
|
||||
|
Loading…
Reference in New Issue
Block a user