AP_GPS: fixed ublox configuration

This commit is contained in:
Alexander Remizov 2018-03-28 17:48:44 +03:00 committed by WickedShell
parent 1c73c133a9
commit dc15cbd513

View File

@ -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;