From 803a56a6b41d091e4de79aa76002f3054512eb4e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 27 Oct 2023 18:13:07 +1100 Subject: [PATCH] ArduPlane: tidy sending of queued opticalflow messages --- ArduPlane/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduPlane/GCS_Mavlink.cpp b/ArduPlane/GCS_Mavlink.cpp index 99e45f31cc..360e956d50 100644 --- a/ArduPlane/GCS_Mavlink.cpp +++ b/ArduPlane/GCS_Mavlink.cpp @@ -681,7 +681,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,