Set default internal module in general settings

This commit is contained in:
Raphael Coeffic
2022-01-02 13:05:09 +01:00
committed by Raphael Coeffic
parent 8a936af8f4
commit 5495eac12a
@@ -245,6 +245,9 @@ GeneralSettings::GeneralSettings()
}
}
// TODO: add a preset in the radio profile
internalModule = Boards::getDefaultInternalModules(board);
const char * themeName = IS_FLYSKY_NV14(board) ? "FlySky" : "EdgeTX";
RadioTheme::init(themeName, themeData);
}