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
+2 -2
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 {