feat: special function to push customisable switches (#5497)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com> Co-authored-by: elecpower <elecpower@users.noreply.github.com>
This commit is contained in:
co-authored by
philmoz
elecpower
parent
40449bf730
commit
d417228677
@@ -954,6 +954,11 @@ int Boards::getSwitchTagNum(int index, Board::Type board)
|
||||
return getBoardJson(board)->getSwitchTagNum(index);
|
||||
}
|
||||
|
||||
int Boards::getSwitchTypeOffset(Board::SwitchType type, Board::Type board)
|
||||
{
|
||||
return getBoardJson(board)->getSwitchTypeOffset(type);
|
||||
}
|
||||
|
||||
int Boards::getSwitchYamlIndex(QString val, int ylt, Board::Type board)
|
||||
{
|
||||
return getBoardJson(board)->getSwitchYamlIndex(val, (BoardJson::YamlLookupType)ylt);
|
||||
|
||||
Reference in New Issue
Block a user