From 91a48a5040f0784216a60da84872b19fadadbdb2 Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Mon, 23 Apr 2018 21:20:57 -0700 Subject: [PATCH] Copter: Support new RC_Channels::read_input() --- ArduCopter/radio.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ArduCopter/radio.cpp b/ArduCopter/radio.cpp index 75c247f644..e320cb8caa 100644 --- a/ArduCopter/radio.cpp +++ b/ArduCopter/radio.cpp @@ -95,9 +95,8 @@ void Copter::read_radio() { uint32_t tnow_ms = millis(); - if (RC_Channels::has_new_input()) { + if (RC_Channels::read_input()) { ap.new_radio_frame = true; - RC_Channels::set_pwm_all(); set_throttle_and_failsafe(channel_throttle->get_radio_in()); set_throttle_zero_flag(channel_throttle->get_control_in());