Use profile default internal module for new radio files
This commit is contained in:
committed by
Raphael Coeffic
parent
e728560a45
commit
2797f7d976
@@ -245,9 +245,8 @@ GeneralSettings::GeneralSettings()
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: add a preset in the radio profile
|
||||
internalModule = Boards::getDefaultInternalModules(board);
|
||||
|
||||
internalModule = g.profile[g.sessionId()].defaultInternalModule();
|
||||
|
||||
const char * themeName = IS_FLYSKY_NV14(board) ? "FlySky" : "EdgeTX";
|
||||
RadioTheme::init(themeName, themeData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user