1
0
forked from me/IronOS

Reboot after reset (#1513)

This commit is contained in:
discip
2023-01-06 05:06:03 +01:00
committed by GitHub
parent 706b3246a1
commit 7f43562a4f

View File

@@ -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;
}