From 549411133b71e1f7239bf1b9c17be64122915624 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 1 May 2024 13:23:46 +1000 Subject: [PATCH] GCS_MAVLink: move handling of AP_Radio RC input down into AP_RCProtocol --- libraries/GCS_MAVLink/GCS_Common.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index 613fdd819a..fadf622bdc 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -77,7 +77,7 @@ #include -#if HAL_RCINPUT_WITH_AP_RADIO +#if AP_RADIO_ENABLED #include #include #endif @@ -3626,7 +3626,7 @@ void GCS_MAVLINK::handle_set_gps_global_origin(const mavlink_message_t &msg) */ void GCS_MAVLINK::handle_data_packet(const mavlink_message_t &msg) { -#if HAL_RCINPUT_WITH_AP_RADIO +#if AP_RADIO_ENABLED mavlink_data96_t m; mavlink_msg_data96_decode(&msg, &m); switch (m.type) {