From 807c673b4f0df6bb49224a238264a98ca24e8eba Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 29 Mar 2019 21:27:50 +1100 Subject: [PATCH] AP_RCProtocol: tidy RC option flag handling --- libraries/AP_RCProtocol/AP_RCProtocol_Backend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RCProtocol/AP_RCProtocol_Backend.cpp b/libraries/AP_RCProtocol/AP_RCProtocol_Backend.cpp index dedbc4400d..ee920ac503 100644 --- a/libraries/AP_RCProtocol/AP_RCProtocol_Backend.cpp +++ b/libraries/AP_RCProtocol/AP_RCProtocol_Backend.cpp @@ -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