From 6b032184d7e131c7b799cb704dfddc3b3fd01a8d Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 10 May 2019 22:51:43 +0200 Subject: [PATCH] [X3] Only 5 switches --- companion/src/firmwares/boards.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/companion/src/firmwares/boards.cpp b/companion/src/firmwares/boards.cpp index fbf27a77c..ece008ae2 100644 --- a/companion/src/firmwares/boards.cpp +++ b/companion/src/firmwares/boards.cpp @@ -278,6 +278,8 @@ const int Boards::getCapability(Board::Type board, Board::Capability capability) case Switches: if (IS_TARANIS_X9E(board)) return 18; + else if (IS_TARANIS_X3(board)) + return 5; else if (IS_TARANIS_X7(board)) return 6; else if (IS_TARANIS_XLITES(board))