mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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)
|
if ((button_status() & SETTINGS_RESET) == SETTINGS_RESET)
|
||||||
#else
|
#else
|
||||||
/* Reset settings if the hold button is turned on */
|
/* Reset settings if the hold button is turned on */
|
||||||
if (button_hold())
|
if (global_settings.clear_settings_on_hold && button_hold())
|
||||||
#endif
|
#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
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue