mirror of https://github.com/ArduPilot/ardupilot
ArduCopter: remove COMPASS_CAL messages from streamrates if tumble cal disabled
fatal error in SITL if we try to send messages with these disabled
This commit is contained in:
parent
c22f60a8eb
commit
efc2c39c96
|
@ -544,8 +544,10 @@ static const ap_message STREAM_EXTRA3_msgs[] = {
|
||||||
MSG_BATTERY_STATUS,
|
MSG_BATTERY_STATUS,
|
||||||
MSG_GIMBAL_DEVICE_ATTITUDE_STATUS,
|
MSG_GIMBAL_DEVICE_ATTITUDE_STATUS,
|
||||||
MSG_OPTICAL_FLOW,
|
MSG_OPTICAL_FLOW,
|
||||||
|
#if COMPASS_CAL_ENABLED
|
||||||
MSG_MAG_CAL_REPORT,
|
MSG_MAG_CAL_REPORT,
|
||||||
MSG_MAG_CAL_PROGRESS,
|
MSG_MAG_CAL_PROGRESS,
|
||||||
|
#endif
|
||||||
MSG_EKF_STATUS_REPORT,
|
MSG_EKF_STATUS_REPORT,
|
||||||
MSG_VIBRATION,
|
MSG_VIBRATION,
|
||||||
#if AP_RPM_ENABLED
|
#if AP_RPM_ENABLED
|
||||||
|
|
Loading…
Reference in New Issue