AP_RCProtocol: tidy disabling of GHST on iomcu

This commit is contained in:
Peter Barker 2024-01-11 14:10:40 +11:00 committed by Andrew Tridgell
parent f7365556d0
commit 61c4e4750a

View File

@ -358,7 +358,7 @@ bool AP_RCProtocol_GHST::process_telemetry(bool check_constraint)
} }
if (!telem_available) { 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())) { if (AP_GHST_Telem::get_telem_data(&_telemetry_frame, is_tx_active())) {
telem_available = true; telem_available = true;
} else { } else {