From 256f373d7f490701113f5de1461cb3cc036dd13c Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 27 Oct 2023 18:21:49 +1100 Subject: [PATCH] ArduCopter: tidy sending of queued generator messages --- ArduCopter/GCS_Mavlink.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/GCS_Mavlink.cpp b/ArduCopter/GCS_Mavlink.cpp index 3b7d236196..23c4a27fe8 100644 --- a/ArduCopter/GCS_Mavlink.cpp +++ b/ArduCopter/GCS_Mavlink.cpp @@ -566,7 +566,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = { MSG_RPM, #endif MSG_ESC_TELEMETRY, +#if HAL_GENERATOR_ENABLED MSG_GENERATOR_STATUS, +#endif MSG_WINCH_STATUS, #if HAL_EFI_ENABLED MSG_EFI_STATUS,