mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 03:19:53 +03:00
Fix
This commit is contained in:
parent
1d73c76dfb
commit
4b9b2c7306
2 changed files with 2 additions and 2 deletions
|
@ -344,8 +344,6 @@ int Boards::getCapability(Board::Type board, Board::Capability capability)
|
|||
case FactoryInstalledPots:
|
||||
if (IS_TARANIS_X9(board))
|
||||
return 2;
|
||||
else if (IS_JUMPER_TLITE(board))
|
||||
return 0;
|
||||
else
|
||||
return getCapability(board, Pots);
|
||||
|
||||
|
|
|
@ -76,6 +76,8 @@ inline int MAX_POTS(Board::Type board, int version)
|
|||
{
|
||||
if (version <= 218 && IS_FAMILY_HORUS_OR_T16(board))
|
||||
return 3;
|
||||
if (IS_FAMILY_T12(board))
|
||||
return 2;
|
||||
return Boards::getCapability(board, Board::Pots);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue