From 4e28a0211b9bc6b197b93875126dcef1ba30d31a Mon Sep 17 00:00:00 2001 From: bsongis Date: Wed, 16 Apr 2014 09:35:01 +0200 Subject: [PATCH] Ail and Ele broken when HELI option enabled --- radio/src/opentx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index 095d2a60c..9678e8587 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -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 {