1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00

X9D+ 2019 has 9 switches

This commit is contained in:
Bertrand Songis 2019-08-12 11:29:04 +02:00
parent 23a28b9b10
commit b9d64c2ca1

View file

@ -226,7 +226,7 @@ const SwitchInfo Boards::getSwitchInfo(Board::Type board, int index)
{SWITCH_2POS, "SF"},
{SWITCH_3POS, "SG"},
{SWITCH_TOGGLE, "SH"},
{SWITCH_3POS, "SI"},
{board == Board::BOARD_TARANIS_X9DP_2019 ? SWITCH_TOGGLE : SWITCH_3POS, "SI"},
{SWITCH_3POS, "SJ"},
{SWITCH_3POS, "SK"},
{SWITCH_3POS, "SL"},
@ -321,6 +321,8 @@ const int Boards::getCapability(Board::Type board, Board::Capability capability)
return 6;
else if (IS_TARANIS_XLITE(board))
return 4;
else if (board == Board::BOARD_TARANIS_X9DP_2019)
return 9;
else if (IS_HORUS_OR_TARANIS(board))
return 8;
else