1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

FrSky Single stick radio

This commit is contained in:
Bertrand Songis 2017-04-23 13:40:22 +02:00
parent 2670b3121d
commit 3530e68e3d
9 changed files with 73 additions and 56 deletions

View file

@ -810,9 +810,13 @@ void evalFlightModeMixes(uint8_t mode, uint8_t tick10ms)
if (mode==e_perout_mode_normal && pass==0) swOn[i].activeMix = 0;
#endif
MixData *md = mixAddress(i);
MixData * md = mixAddress(i);
#if defined(PCBACAIR)
if (md->srcRaw == 0) continue;
#else
if (md->srcRaw == 0) break;
#endif
mixsrc_t stickIndex = md->srcRaw - MIXSRC_FIRST_STICK;