ArduSub: stop sending SENSOR_OFFSETS

Only works for first compass instance.

We have all of these in parameters anyway.
This commit is contained in:
Peter Barker 2021-08-17 22:08:59 +10:00 committed by Andrew Tridgell
parent 5afaacc320
commit aa22126355

View File

@ -322,7 +322,6 @@ static const ap_message STREAM_RAW_SENSORS_msgs[] = {
MSG_SCALED_PRESSURE, MSG_SCALED_PRESSURE,
MSG_SCALED_PRESSURE2, MSG_SCALED_PRESSURE2,
MSG_SCALED_PRESSURE3, MSG_SCALED_PRESSURE3,
MSG_SENSOR_OFFSETS
}; };
static const ap_message STREAM_EXTENDED_STATUS_msgs[] = { static const ap_message STREAM_EXTENDED_STATUS_msgs[] = {
MSG_SYS_STATUS, MSG_SYS_STATUS,
@ -832,4 +831,4 @@ uint8_t GCS_MAVLINK_Sub::high_latency_tgt_airspeed() const
} }
return 0; return 0;
} }
#endif // HAL_HIGH_LATENCY2_ENABLED #endif // HAL_HIGH_LATENCY2_ENABLED