From 3e8913b06a970f6e64ec492681327991731bb6e0 Mon Sep 17 00:00:00 2001 From: elecpower Date: Mon, 20 Dec 2021 22:25:21 +1100 Subject: [PATCH] Fix switches on bin import --- companion/src/firmwares/opentx/opentxeeprom.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/companion/src/firmwares/opentx/opentxeeprom.cpp b/companion/src/firmwares/opentx/opentxeeprom.cpp index d07c0887c..423f5050c 100644 --- a/companion/src/firmwares/opentx/opentxeeprom.cpp +++ b/companion/src/firmwares/opentx/opentxeeprom.cpp @@ -119,6 +119,8 @@ inline int MAX_XPOTS(Board::Type board, int version) { if (version <= 218 && IS_FAMILY_HORUS_OR_T16(board)) return 3; + if (version <= 220 && (IS_HORUS_X10(board) || IS_FAMILY_T16(board))) + return 5; if (IS_FAMILY_T12(board)) return 2; return Boards::getCapability(board, Board::MultiposPots);