ArduSub: stop streaming trying SIM_STATE messages outside sim

This commit is contained in:
Peter Barker 2023-11-19 11:38:47 +11:00 committed by Andrew Tridgell
parent ba8e770a81
commit a966e4232b

View File

@ -374,7 +374,9 @@ static const ap_message STREAM_RC_CHANNELS_msgs[] = {
};
static const ap_message STREAM_EXTRA1_msgs[] = {
MSG_ATTITUDE,
#if AP_SIM_ENABLED
MSG_SIMSTATE,
#endif
MSG_AHRS2,
MSG_PID_TUNING
};