1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 00:05:17 +03:00

Fixes #2999 in 'next' (OpenTX 2.2)

This commit is contained in:
Bertrand Songis 2016-05-13 16:50:55 +02:00
parent 01a69e3dbf
commit 5b7526c5e8
2 changed files with 4 additions and 4 deletions

View file

@ -1699,10 +1699,6 @@ void doMixerCalculations()
getADC(); getADC();
DEBUG_TIMER_STOP(debugTimerGetAdc); DEBUG_TIMER_STOP(debugTimerGetAdc);
#if defined(PCBTARANIS)
processSbusInput();
#endif
DEBUG_TIMER_START(debugTimerGetSwitches); DEBUG_TIMER_START(debugTimerGetSwitches);
getSwitchesPosition(!s_mixer_first_run_done); getSwitchesPosition(!s_mixer_first_run_done);
DEBUG_TIMER_STOP(debugTimerGetSwitches); DEBUG_TIMER_STOP(debugTimerGetSwitches);

View file

@ -105,6 +105,10 @@ void mixerTask(void * pdata)
return; return;
#endif #endif
#if defined(PCBTARANIS)
processSbusInput();
#endif
CoTickDelay(1); CoTickDelay(1);
uint32_t now = CoGetOSTime(); uint32_t now = CoGetOSTime();