Fix metadata loading issues with Initialization and refactor Factory Reset. (#19)
Reviewed-on: https://git.pinkduck.xyz/awonak/libGravity/pulls/19
This commit is contained in:
@ -222,10 +222,9 @@ void HandleEncoderPressed() {
|
||||
}
|
||||
}
|
||||
if (app.selected_param == PARAM_MAIN_FACTORY_RESET) {
|
||||
if (app.selected_sub_param == 0) { // Reset
|
||||
if (app.selected_sub_param == 0) { // Erase
|
||||
Bootsplash();
|
||||
stateManager.factoryReset();
|
||||
stateManager.reset(app);
|
||||
stateManager.factoryReset(app);
|
||||
InitGravity(app);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user