fix(cpn): models and settings binary import (#4890)

This commit is contained in:
Neil Horne
2024-04-23 12:00:21 +10:00
committed by GitHub
parent 4e2608fa0a
commit 25bf3334cc
8 changed files with 58 additions and 35 deletions
+9 -1
View File
@@ -305,7 +305,15 @@ int BoardJson::getInputTagOffset(const InputsTable * inputs, QString tag)
return i;
}
return 0;
return -1;
}
const int BoardJson::getInputExtIndex(int index)
{
if (getCapability(Board::Pots) > 0)
return getInputTagOffset(m_inputs, QString("EXT%1").arg(index));
return -1;
}
const int BoardJson::getInputPotIndex(int index)