From 5b7526c5e8a7e6ad30a7d51809be7a237e2e4085 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 13 May 2016 16:50:55 +0200 Subject: [PATCH] Fixes #2999 in 'next' (OpenTX 2.2) --- radio/src/opentx.cpp | 4 ---- radio/src/tasks_arm.cpp | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index e37d0d0b2..d726450e4 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -1699,10 +1699,6 @@ void doMixerCalculations() getADC(); DEBUG_TIMER_STOP(debugTimerGetAdc); -#if defined(PCBTARANIS) - processSbusInput(); -#endif - DEBUG_TIMER_START(debugTimerGetSwitches); getSwitchesPosition(!s_mixer_first_run_done); DEBUG_TIMER_STOP(debugTimerGetSwitches); diff --git a/radio/src/tasks_arm.cpp b/radio/src/tasks_arm.cpp index 33cb210b0..3e36f72c9 100644 --- a/radio/src/tasks_arm.cpp +++ b/radio/src/tasks_arm.cpp @@ -105,6 +105,10 @@ void mixerTask(void * pdata) return; #endif +#if defined(PCBTARANIS) + processSbusInput(); +#endif + CoTickDelay(1); uint32_t now = CoGetOSTime();