Xlite has no trainer port

This commit is contained in:
Kilrah
2019-06-01 10:53:09 +02:00
parent f6ea6542d7
commit 96e3bf0d70
@@ -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;