mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_RCProtocol: tidy disabling of GHST on iomcu
This commit is contained in:
parent
f7365556d0
commit
61c4e4750a
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user