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:
parent
23a28b9b10
commit
b9d64c2ca1
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue