feat(cpn): External module form factor set in Radio Profile (#3628)

(to allow aligning with firmware compile option) 

* feat(cpn): External module form factor set in Radio Profile to allow aligning with firmware compile option

* Note tweak
This commit is contained in:
Neil Horne
2023-07-16 11:06:36 +10:00
committed by GitHub
parent a3ab20fe4b
commit 286ae00678
8 changed files with 458 additions and 342 deletions
+1
View File
@@ -1272,6 +1272,7 @@ int MainWindow::newProfile(bool loadProfile)
g.profile[i].name("New Radio");
g.profile[i].fwType(newfw->getId());
g.profile[i].defaultInternalModule(Boards::getDefaultInternalModules(newfw->getBoard()));
g.profile[i].externalModuleSize(Boards::getDefaultExternalModuleSize(newfw->getBoard()));
if (loadProfile) {
if (loadProfileId(i))