Fix switches

This commit is contained in:
3djc
2021-01-25 15:15:13 +01:00
parent 4b9b2c7306
commit 7333de5c8b
@@ -94,6 +94,8 @@ inline int MAX_POTS_SOURCES(Board::Type board, int version)
{
if (version <= 218 && IS_FAMILY_HORUS_OR_T16(board))
return 5;
if (IS_FAMILY_T12(board))
return 2;
return Boards::getCapability(board, Board::Pots);
}