From 85e5ddca5e5c0a0fc473b000bb34eb78bdea32f6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 22 Oct 2022 07:46:15 +1100 Subject: [PATCH] Copter: enable send of EFI_STATUS --- ArduCopter/GCS_Mavlink.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArduCopter/GCS_Mavlink.cpp b/ArduCopter/GCS_Mavlink.cpp index 93cd8185bc..b964672bff 100644 --- a/ArduCopter/GCS_Mavlink.cpp +++ b/ArduCopter/GCS_Mavlink.cpp @@ -2,6 +2,7 @@ #include "GCS_Mavlink.h" #include +#include MAV_TYPE GCS_Copter::frame_type() const { @@ -541,6 +542,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = { MSG_ESC_TELEMETRY, MSG_GENERATOR_STATUS, MSG_WINCH_STATUS, +#if HAL_EFI_ENABLED + MSG_EFI_STATUS, +#endif }; static const ap_message STREAM_PARAMS_msgs[] = { MSG_NEXT_PARAM