AP_RCProtocol: tidy RC option flag handling

This commit is contained in:
Peter Barker 2019-03-29 21:27:50 +11:00 committed by Andrew Tridgell
parent bc2ede5582
commit 807c673b4f

View File

@ -56,7 +56,7 @@ void AP_RCProtocol_Backend::add_input(uint8_t num_values, uint16_t *values, bool
_num_channels = num_values;
rc_frame_count++;
#if !APM_BUILD_TYPE(APM_BUILD_iofirmware)
if (RC_Channels::ignore_rc_failsafe()) {
if (rc().ignore_rc_failsafe()) {
in_failsafe = false;
}
#endif