From 39d79695b3cc1104f1ef6a7876a26581959e2374 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 17 Oct 2022 19:35:43 +1100 Subject: [PATCH] GCS_MAVLink: send HYGROMETER_SENSOR message if data available --- libraries/GCS_MAVLink/GCS.h | 1 + libraries/GCS_MAVLink/ap_message.h | 1 + 2 files changed, 2 insertions(+) diff --git a/libraries/GCS_MAVLink/GCS.h b/libraries/GCS_MAVLink/GCS.h index ddbb9526f9..bfb058030c 100644 --- a/libraries/GCS_MAVLink/GCS.h +++ b/libraries/GCS_MAVLink/GCS.h @@ -27,6 +27,7 @@ #include #include #include +#include #include "ap_message.h" diff --git a/libraries/GCS_MAVLink/ap_message.h b/libraries/GCS_MAVLink/ap_message.h index f6a09f46ed..532c476273 100644 --- a/libraries/GCS_MAVLink/ap_message.h +++ b/libraries/GCS_MAVLink/ap_message.h @@ -81,6 +81,7 @@ enum ap_message : uint8_t { MSG_MCU_STATUS, MSG_UAVIONIX_ADSB_OUT_STATUS, MSG_ATTITUDE_TARGET, + MSG_HYGROMETER, MSG_AUTOPILOT_STATE_FOR_GIMBAL_DEVICE, MSG_LAST // MSG_LAST must be the last entry in this enum };