Use profile default internal module for new radio files

This commit is contained in:
elecpower
2022-01-02 13:05:09 +01:00
committed by Raphael Coeffic
parent e728560a45
commit 2797f7d976
+2 -3
View File
@@ -245,9 +245,8 @@ GeneralSettings::GeneralSettings()
} }
} }
// TODO: add a preset in the radio profile internalModule = g.profile[g.sessionId()].defaultInternalModule();
internalModule = Boards::getDefaultInternalModules(board);
const char * themeName = IS_FLYSKY_NV14(board) ? "FlySky" : "EdgeTX"; const char * themeName = IS_FLYSKY_NV14(board) ? "FlySky" : "EdgeTX";
RadioTheme::init(themeName, themeData); RadioTheme::init(themeName, themeData);
} }