From 96e3bf0d70d6abafc5afb09ce3848247a98edd66 Mon Sep 17 00:00:00 2001 From: Kilrah Date: Sat, 1 Jun 2019 10:53:09 +0200 Subject: [PATCH] Xlite has no trainer port --- companion/src/firmwares/opentx/opentxinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/firmwares/opentx/opentxinterface.cpp b/companion/src/firmwares/opentx/opentxinterface.cpp index 8a8557a31..7e7c38593 100644 --- a/companion/src/firmwares/opentx/opentxinterface.cpp +++ b/companion/src/firmwares/opentx/opentxinterface.cpp @@ -550,7 +550,7 @@ int OpenTxFirmware::getCapability(::Capability capability) case Haptic: return (IS_2560(board) || IS_SKY9X(board) || IS_TARANIS_PLUS(board) || IS_TARANIS_SMALL(board) || IS_TARANIS_X9E(board) || IS_HORUS(board) || IS_JUMPER_T12(board) || id.contains("haptic")); case ModelTrainerEnable: - if (IS_HORUS_OR_TARANIS(board)) + if (IS_HORUS_OR_TARANIS(board) && board!=Board::BOARD_TARANIS_XLITE) return 1; else return 0;