Ail and Ele broken when HELI option enabled
This commit is contained in:
@@ -983,9 +983,9 @@ void applyExpos(int16_t *anas, uint8_t mode APPLY_EXPOS_EXTRA_PARAMS)
|
|||||||
if (ed->srcRaw == ovwrIdx)
|
if (ed->srcRaw == ovwrIdx)
|
||||||
v = ovwrValue;
|
v = ovwrValue;
|
||||||
#if defined(HELI)
|
#if defined(HELI)
|
||||||
else if (ed->srcRaw == MIXSRC_Ele)
|
else if (ed->srcRaw == MIXSRC_Ele && g_model.swashR.value)
|
||||||
v = heliAnas[ELE_STICK];
|
v = heliAnas[ELE_STICK];
|
||||||
else if (ed->srcRaw == MIXSRC_Ail)
|
else if (ed->srcRaw == MIXSRC_Ail && g_model.swashR.value)
|
||||||
v = heliAnas[AIL_STICK];
|
v = heliAnas[AIL_STICK];
|
||||||
#endif
|
#endif
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user