diff options
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/misc.c b/apps/misc.c index 339bc1d0b7..22f6fb50a6 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -60,7 +60,6 @@ | |||
60 | #include "gui/gwps-common.h" | 60 | #include "gui/gwps-common.h" |
61 | 61 | ||
62 | #include "misc.h" | 62 | #include "misc.h" |
63 | #include "rtc.h" | ||
64 | 63 | ||
65 | /* Format a large-range value for output, using the appropriate unit so that | 64 | /* Format a large-range value for output, using the appropriate unit so that |
66 | * the displayed value is in the range 1 <= display < 1000 (1024 for "binary" | 65 | * the displayed value is in the range 1 <= display < 1000 (1024 for "binary" |
@@ -415,12 +414,6 @@ void screen_dump(void) | |||
415 | #endif | 414 | #endif |
416 | 415 | ||
417 | #ifdef CONFIG_RTC | 416 | #ifdef CONFIG_RTC |
418 | #if CONFIG_RTC == RTC_DS1339_DS3231 | ||
419 | if(!rtc_detected) | ||
420 | create_numbered_filename(filename, "", "dump_", ".bmp", 4 | ||
421 | IF_CNFN_NUM_(, NULL)); | ||
422 | else | ||
423 | #endif | ||
424 | create_datetime_filename(filename, "", "dump ", ".bmp", false); | 417 | create_datetime_filename(filename, "", "dump ", ".bmp", false); |
425 | #else | 418 | #else |
426 | create_numbered_filename(filename, "", "dump_", ".bmp", 4 | 419 | create_numbered_filename(filename, "", "dump_", ".bmp", 4 |