Setting reset fix red
Change-Id: I9174d7695b117fa10d10cda8ff9cccc50ebeb7f2
This commit is contained in:
parent
ed37c2e894
commit
6cdd142d5c
1 changed files with 3 additions and 6 deletions
|
@ -579,14 +579,11 @@ static void init(void)
|
|||
if ((button_status() & SETTINGS_RESET) == SETTINGS_RESET)
|
||||
#else
|
||||
/* Reset settings if the hold button is turned on */
|
||||
if (button_hold())
|
||||
if (global_settings.clear_settings_on_hold && button_hold())
|
||||
#endif
|
||||
{
|
||||
if (global_settings.clear_settings_on_hold)
|
||||
{
|
||||
splash(HZ*2, str(LANG_RESET_DONE_CLEAR));
|
||||
settings_reset();
|
||||
}
|
||||
splash(HZ*2, str(LANG_RESET_DONE_CLEAR));
|
||||
settings_reset();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue