fix(cpn): preserve current calibration when writing models and settings to radio (#6722)

This commit is contained in:
Neil Horne
2025-10-29 11:23:45 +10:00
committed by GitHub
parent dbab5745b6
commit edaba32e2b
10 changed files with 143 additions and 62 deletions
+2 -1
View File
@@ -42,7 +42,7 @@ class LabelsStorageFormat : public StorageFormat
}
virtual bool load(RadioData & radioData);
virtual bool write(const RadioData & radioData);
virtual bool write(RadioData & radioData);
protected:
virtual bool loadFile(QByteArray & fileData, const QString & fileName, bool optional = false) = 0;
@@ -54,4 +54,5 @@ class LabelsStorageFormat : public StorageFormat
bool loadChecklist(ModelData &model);
bool writeChecklist(const ModelData & model);
bool loadRadioSettings(GeneralSettings & generalSettings);
};