chore(cpn): remove redundant macro and unused fields (#7071)
This commit is contained in:
@@ -416,7 +416,7 @@ bool RawSource::isAvailable(const ModelData * const model,
|
||||
return false;
|
||||
}
|
||||
|
||||
if (type == SOURCE_TYPE_SWITCH && !b.isSwitchFunc(abs(index) - 1, board) && IS_HORUS_OR_TARANIS(board) &&
|
||||
if (type == SOURCE_TYPE_SWITCH && !b.isSwitchFunc(abs(index) - 1, board) &&
|
||||
!gs->switchSourceAllowed(abs(index) - 1))
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user