1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 01:35:21 +03:00

Ail and Ele broken when HELI option enabled

This commit is contained in:
bsongis 2014-04-16 09:35:01 +02:00
parent f6d1b0c46f
commit 4e28a0211b

View file

@ -983,9 +983,9 @@ void applyExpos(int16_t *anas, uint8_t mode APPLY_EXPOS_EXTRA_PARAMS)
if (ed->srcRaw == ovwrIdx)
v = ovwrValue;
#if defined(HELI)
else if (ed->srcRaw == MIXSRC_Ele)
else if (ed->srcRaw == MIXSRC_Ele && g_model.swashR.value)
v = heliAnas[ELE_STICK];
else if (ed->srcRaw == MIXSRC_Ail)
else if (ed->srcRaw == MIXSRC_Ail && g_model.swashR.value)
v = heliAnas[AIL_STICK];
#endif
else {