1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 03:19:53 +03:00
This commit is contained in:
3djc 2021-01-25 15:09:05 +01:00
parent 1d73c76dfb
commit 4b9b2c7306
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);
}