aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordiscip <[email protected]>2022-12-10 23:24:10 +0100
committerGitHub <[email protected]>2022-12-10 23:24:10 +0100
commit74339a997c958f6ee7c155dcb207cb264e4c76ef (patch)
treeb2ae919c60709203024cf139574b9cb4d023a283
parentb934cacdfad7bc4acbbe78b9f7a5faff82046ef0 (diff)
downloadIronOS-74339a997c958f6ee7c155dcb207cb264e4c76ef.tar.gz
IronOS-74339a997c958f6ee7c155dcb207cb264e4c76ef.zip
after reset go to home screen_VI
-rw-r--r--source/Core/Src/settingsGUI.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/Core/Src/settingsGUI.cpp b/source/Core/Src/settingsGUI.cpp
index 88d8b52c..dbd08cb8 100644
--- a/source/Core/Src/settingsGUI.cpp
+++ b/source/Core/Src/settingsGUI.cpp
@@ -720,10 +720,8 @@ static bool setResetSettings(void) {
if (userConfirmation(translatedString(Tr->SettingsResetWarning))) {
resetSettings();
warnUser(translatedString(Tr->ResetOKMessage), 10 * TICKS_SECOND);
- break;
- return 0;
}
- return false;
+ return 0;
}
static void displayResetSettings(void) {}