From badea8e6a8d48853b88d906c8ccc37221dd9bed7 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 18 Jan 2017 11:29:05 +0100 Subject: [PATCH] [Companion] Another fix for #4224 --- 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 b46da6c53..6c0133da3 100644 --- a/companion/src/firmwares/opentx/opentxeeprom.cpp +++ b/companion/src/firmwares/opentx/opentxeeprom.cpp @@ -871,7 +871,7 @@ class FlightModeField: public TransformedField { virtual void beforeExport() { for (int i=0; i= 216) { + if (IS_HORUS_OR_TARANIS(board) && version >= 216) { if (phase.trimMode[i] < 0) trimMode[i] = TRIM_MODE_NONE; else @@ -899,7 +899,7 @@ class FlightModeField: public TransformedField { virtual void afterImport() { for (int i=0; i= 216) { + if (IS_HORUS_OR_TARANIS(board) && version >= 216) { if (trimMode[i] == TRIM_MODE_NONE) { phase.trimMode[i] = -1; }