Fix switches on bin import
This commit is contained in:
committed by
Raphael Coeffic
parent
1ec3113a85
commit
3e8913b06a
@@ -119,6 +119,8 @@ inline int MAX_XPOTS(Board::Type board, int version)
|
|||||||
{
|
{
|
||||||
if (version <= 218 && IS_FAMILY_HORUS_OR_T16(board))
|
if (version <= 218 && IS_FAMILY_HORUS_OR_T16(board))
|
||||||
return 3;
|
return 3;
|
||||||
|
if (version <= 220 && (IS_HORUS_X10(board) || IS_FAMILY_T16(board)))
|
||||||
|
return 5;
|
||||||
if (IS_FAMILY_T12(board))
|
if (IS_FAMILY_T12(board))
|
||||||
return 2;
|
return 2;
|
||||||
return Boards::getCapability(board, Board::MultiposPots);
|
return Boards::getCapability(board, Board::MultiposPots);
|
||||||
|
|||||||
Reference in New Issue
Block a user