refactor(cpn): Support JSON radio hardware definitions (#4406)
This commit is contained in:
@@ -72,8 +72,11 @@ bool LabelsStorageFormat::loadBin(RadioData & radioData)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
board = loadInterface->getBoard();
|
||||
|
||||
radioData.generalSettings.convertLegacyConfiguration(board);
|
||||
|
||||
QByteArray modelsListBuffer;
|
||||
if (!loadFile(modelsListBuffer, "RADIO/models.txt")) {
|
||||
setError(tr("Cannot extract RADIO/models.txt"));
|
||||
|
||||
Reference in New Issue
Block a user