Fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user