chore(cpn): refactor firmware flashing to use edgetx rs_dfu (#6521)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
co-authored by
raphaelcoeffic
parent
23830197b3
commit
dbce54dec6
@@ -335,7 +335,6 @@ void Profile::resetFwVariables()
|
||||
CompStoreObj::resetProperty(this, name);
|
||||
}
|
||||
|
||||
|
||||
// ** ComponentAssetData class********************
|
||||
|
||||
ComponentAssetData::ComponentAssetData() : CompStoreObj(), index(-1)
|
||||
@@ -727,6 +726,14 @@ void AppData::convertSettings(QSettings & settings)
|
||||
}
|
||||
}
|
||||
|
||||
if (savedMajMin < 0x300) {
|
||||
// 3.0 CloudBuild copy filter changed to cater for uf2
|
||||
qInfo().noquote() << "Deleting CloudBuild settings to force refresh";
|
||||
static const QString path = QStringLiteral("Components/component6");
|
||||
if (settings.contains(path))
|
||||
settings.remove(path);
|
||||
}
|
||||
|
||||
if (removeUnused)
|
||||
clearUnusedSettings(settings);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user