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

View File

@ -556,7 +556,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, MSG_PID_TUNING,
}; };