From c3e0d1967b6362ecbbdae4953abeb6063fa578f4 Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 17 Mar 2014 12:00:36 +0100 Subject: [PATCH] Issue #801 fixed --- companion/src/firmwares/opentx/opentxeeprom.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/companion/src/firmwares/opentx/opentxeeprom.cpp b/companion/src/firmwares/opentx/opentxeeprom.cpp index 6317cdc71..0a9de81c9 100644 --- a/companion/src/firmwares/opentx/opentxeeprom.cpp +++ b/companion/src/firmwares/opentx/opentxeeprom.cpp @@ -1012,9 +1012,15 @@ class InputField: public TransformedField { virtual void afterImport() { - if (IS_TARANIS(board) && version < 216) { - if (expo.mode) { - expo.srcRaw = RawSource(SOURCE_TYPE_STICK, expo.chn); + if (IS_TARANIS(board)) { + if (version < 216) { + if (expo.mode) { + expo.srcRaw = RawSource(SOURCE_TYPE_STICK, expo.chn); + } + } + else { + if (expo.srcRaw.type != SOURCE_TYPE_NONE) + expo.mode = 3; } }