From e9700c170961e8c7aaad92fdcefe0e0b894741ef Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 27 Oct 2023 18:13:08 +1100 Subject: [PATCH] Blimp: tidy sending of queued opticalflow messages --- Blimp/GCS_Mavlink.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Blimp/GCS_Mavlink.cpp b/Blimp/GCS_Mavlink.cpp index a58d3a45ee..81fa2d806f 100644 --- a/Blimp/GCS_Mavlink.cpp +++ b/Blimp/GCS_Mavlink.cpp @@ -2,6 +2,7 @@ #include "GCS_Mavlink.h" #include +#include MAV_TYPE GCS_Blimp::frame_type() const { @@ -360,7 +361,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = { #if HAL_MOUNT_ENABLED MSG_GIMBAL_DEVICE_ATTITUDE_STATUS, #endif +#if AP_OPTICALFLOW_ENABLED MSG_OPTICAL_FLOW, +#endif #if COMPASS_CAL_ENABLED MSG_MAG_CAL_REPORT, MSG_MAG_CAL_PROGRESS,