Skip to content

Commit

Permalink
Reboot after reset (#1513)
Browse files Browse the repository at this point in the history
  • Loading branch information
discip authored Jan 6, 2023
1 parent 706b324 commit 7f43562
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/Core/Src/settingsGUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,8 @@ static void displayPowerPulseDuration(void) { OLED::printNumber(getSettingValue(
static bool setResetSettings(void) {
if (userConfirmation(translatedString(Tr->SettingsResetWarning))) {
resetSettings();
warnUser(translatedString(Tr->ResetOKMessage), 10 * TICKS_SECOND);
warnUser(translatedString(Tr->ResetOKMessage), 3 * TICKS_SECOND);
reboot();
}
return false;
}
Expand Down

0 comments on commit 7f43562

Please sign in to comment.