From f5aa9d5e583ccec3b6f433fbc3b0e0a844e1cda7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 2 Feb 2020 08:14:20 +1100 Subject: [PATCH] HAL_ChibiOS: fixed skyviper-v2450 build --- libraries/AP_HAL_ChibiOS/RCInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/RCInput.cpp b/libraries/AP_HAL_ChibiOS/RCInput.cpp index 9450a4acc4..fda011c395 100644 --- a/libraries/AP_HAL_ChibiOS/RCInput.cpp +++ b/libraries/AP_HAL_ChibiOS/RCInput.cpp @@ -133,7 +133,7 @@ uint8_t RCInput::read(uint16_t* periods, uint8_t len) memcpy(periods, _rc_values, len*sizeof(periods[0])); } #if HAL_RCINPUT_WITH_AP_RADIO - if (radio && channel == 0) { + if (radio) { // hook to allow for update of radio on main thread, for mavlink sends radio->update(); }