diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/main.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/main.c b/apps/main.c index d52c17a67e..515a9978f5 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -579,14 +579,11 @@ static void init(void) | |||
579 | if ((button_status() & SETTINGS_RESET) == SETTINGS_RESET) | 579 | if ((button_status() & SETTINGS_RESET) == SETTINGS_RESET) |
580 | #else | 580 | #else |
581 | /* Reset settings if the hold button is turned on */ | 581 | /* Reset settings if the hold button is turned on */ |
582 | if (button_hold()) | 582 | if (global_settings.clear_settings_on_hold && button_hold()) |
583 | #endif | 583 | #endif |
584 | { | 584 | { |
585 | if (global_settings.clear_settings_on_hold) | 585 | splash(HZ*2, str(LANG_RESET_DONE_CLEAR)); |
586 | { | 586 | settings_reset(); |
587 | splash(HZ*2, str(LANG_RESET_DONE_CLEAR)); | ||
588 | settings_reset(); | ||
589 | } | ||
590 | } | 587 | } |
591 | #endif | 588 | #endif |
592 | 589 | ||