From 61c4e4750a848333ecf2d9b3941fab20506fea3e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 11 Jan 2024 14:10:40 +1100 Subject: [PATCH] AP_RCProtocol: tidy disabling of GHST on iomcu --- libraries/AP_RCProtocol/AP_RCProtocol_GHST.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RCProtocol/AP_RCProtocol_GHST.cpp b/libraries/AP_RCProtocol/AP_RCProtocol_GHST.cpp index 195e56bfb9..9a8a68f871 100644 --- a/libraries/AP_RCProtocol/AP_RCProtocol_GHST.cpp +++ b/libraries/AP_RCProtocol/AP_RCProtocol_GHST.cpp @@ -358,7 +358,7 @@ bool AP_RCProtocol_GHST::process_telemetry(bool check_constraint) } if (!telem_available) { -#if AP_GHST_TELEM_ENABLED && !APM_BUILD_TYPE(APM_BUILD_iofirmware) +#if AP_GHST_TELEM_ENABLED if (AP_GHST_Telem::get_telem_data(&_telemetry_frame, is_tx_active())) { telem_available = true; } else {