This commit is contained in:
Kjell Kernen
2014-06-26 11:39:43 +02:00
parent a8e594e54c
commit 693f232f01
+2 -1
View File
@@ -96,6 +96,8 @@ int main(int argc, char *argv[])
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
registerOpenTxFirmwares();
if (g.profile[g.id()].fwType().isEmpty()){
g.profile[g.id()].fwType(default_firmware_variant->getId());
g.profile[g.id()].fwName("");
@@ -111,7 +113,6 @@ int main(int argc, char *argv[])
QSplashScreen *splash = new QSplashScreen(pixmap);
RegisterEepromInterfaces();
registerOpenTxFirmwares();
current_firmware_variant = GetFirmware(g.profile[g.id()].fwType());