From 1a85956dcbc372ccdc712fc15afcdc5066ae0e0a Mon Sep 17 00:00:00 2001 From: 3djc Date: Sat, 20 May 2017 21:33:43 +0200 Subject: [PATCH] Tentative fix (#4939) --- companion/src/firmwares/opentx/opentxeeprom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/companion/src/firmwares/opentx/opentxeeprom.cpp b/companion/src/firmwares/opentx/opentxeeprom.cpp index 14d70483e..9b568795a 100644 --- a/companion/src/firmwares/opentx/opentxeeprom.cpp +++ b/companion/src/firmwares/opentx/opentxeeprom.cpp @@ -1207,7 +1207,7 @@ class MixField: public TransformedField { if (mix.srcRaw.type != SOURCE_TYPE_NONE) { mix.destCh = _destCh + 1; - if (!IS_STM32(board) || version < 216) { + if (!IS_ARM(board) || (!IS_STM32(board) && version < 218) || version < 216) { if (!_curveMode) mix.curve = CurveReference(CurveReference::CURVE_REF_DIFF, smallGvarToC9x(_curveParam)); else if (_curveParam > 6) @@ -1410,7 +1410,7 @@ class InputField: public TransformedField { expo.offset = smallGvarToC9x(_offset); } - if (!IS_STM32(board) || version < 216) { + if (!IS_ARM(board) || (!IS_STM32(board) && version < 218) || version < 216) { if (!_curveMode) expo.curve = CurveReference(CurveReference::CURVE_REF_EXPO, smallGvarToC9x(_curveParam)); else if (_curveParam > 6)