Blimp: 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 a966e4232b
commit a13353f740
1 changed files with 2 additions and 0 deletions

View File

@ -344,7 +344,9 @@ static const ap_message STREAM_RC_CHANNELS_msgs[] = {
}; };
static const ap_message STREAM_EXTRA1_msgs[] = { static const ap_message STREAM_EXTRA1_msgs[] = {
MSG_ATTITUDE, MSG_ATTITUDE,
#if AP_SIM_ENABLED
MSG_SIMSTATE, MSG_SIMSTATE,
#endif
MSG_AHRS2, MSG_AHRS2,
MSG_PID_TUNING // Up to four PID_TUNING messages are sent, depending on GCS_PID_MASK parameter MSG_PID_TUNING // Up to four PID_TUNING messages are sent, depending on GCS_PID_MASK parameter
}; };