AP_RCProtocol: use defaults to turn off CRSF telem on IO firmware

This commit is contained in:
Peter Barker 2023-04-26 17:55:10 +10:00 committed by Peter Barker
parent 1f3aecf41b
commit dd549ee625
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ bool AP_RCProtocol_CRSF::decode_crsf_packet()
default:
break;
}
#if HAL_CRSF_TELEM_ENABLED && !APM_BUILD_TYPE(APM_BUILD_iofirmware)
#if HAL_CRSF_TELEM_ENABLED
if (AP_CRSF_Telem::process_frame(FrameType(_frame.type), (uint8_t*)&_frame.payload)) {
process_telemetry();
}