summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index fcefa00898..09c1e4bea5 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -332,9 +332,14 @@ void init(void)
332 332
333 settings_calc_config_sector(); 333 settings_calc_config_sector();
334 334
335#if defined(SETTINGS_RESET) || (CONFIG_KEYPAD == IPOD_4G_PAD)
335#ifdef SETTINGS_RESET 336#ifdef SETTINGS_RESET
336 /* Reset settings if holding the rec button. */ 337 /* Reset settings if holding the rec button. */
337 if ((button_status() & SETTINGS_RESET) == SETTINGS_RESET) 338 if ((button_status() & SETTINGS_RESET) == SETTINGS_RESET)
339#else
340 /* Reset settings if the hold button is turned on */
341 if (button_hold())
342#endif
338 { 343 {
339 gui_syncsplash(HZ*2, true, str(LANG_RESET_DONE_CLEAR)); 344 gui_syncsplash(HZ*2, true, str(LANG_RESET_DONE_CLEAR));
340 settings_reset(); 345 settings_reset();