From a13353f740b012ce609e28749312f5fff24de636 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sun, 19 Nov 2023 11:38:47 +1100 Subject: [PATCH] Blimp: stop streaming trying SIM_STATE messages outside sim --- Blimp/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Blimp/GCS_Mavlink.cpp b/Blimp/GCS_Mavlink.cpp index dd516e3e92..8eaf6473dd 100644 --- a/Blimp/GCS_Mavlink.cpp +++ b/Blimp/GCS_Mavlink.cpp @@ -344,7 +344,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 // Up to four PID_TUNING messages are sent, depending on GCS_PID_MASK parameter };