diff options
Diffstat (limited to 'apps/misc.c')
-rw-r--r-- | apps/misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/misc.c b/apps/misc.c index 6f55b6f6b5..c40eac0def 100644 --- a/apps/misc.c +++ b/apps/misc.c | |||
@@ -154,7 +154,7 @@ char *create_numbered_filename(char *buffer, const char *path, | |||
154 | return buffer; | 154 | return buffer; |
155 | } | 155 | } |
156 | 156 | ||
157 | #ifdef HAVE_RTC | 157 | #ifdef CONFIG_RTC |
158 | /* Create a filename with a date+time part. | 158 | /* Create a filename with a date+time part. |
159 | It is allowed that buffer and path point to the same memory location, | 159 | It is allowed that buffer and path point to the same memory location, |
160 | saving a strcpy(). Path must always be given without trailing slash. */ | 160 | saving a strcpy(). Path must always be given without trailing slash. */ |
@@ -175,7 +175,7 @@ char *create_datetime_filename(char *buffer, const char *path, | |||
175 | 175 | ||
176 | return buffer; | 176 | return buffer; |
177 | } | 177 | } |
178 | #endif /* HAVE_RTC */ | 178 | #endif /* CONFIG_RTC */ |
179 | 179 | ||
180 | /* Read (up to) a line of text from fd into buffer and return number of bytes | 180 | /* Read (up to) a line of text from fd into buffer and return number of bytes |
181 | * read (which may be larger than the number of bytes stored in buffer). If | 181 | * read (which may be larger than the number of bytes stored in buffer). If |
@@ -300,7 +300,7 @@ void screen_dump(void) | |||
300 | static unsigned short line_block[BMP_LINESIZE/2]; | 300 | static unsigned short line_block[BMP_LINESIZE/2]; |
301 | #endif | 301 | #endif |
302 | 302 | ||
303 | #ifdef HAVE_RTC | 303 | #ifdef CONFIG_RTC |
304 | create_datetime_filename(filename, "", "dump ", ".bmp"); | 304 | create_datetime_filename(filename, "", "dump ", ".bmp"); |
305 | #else | 305 | #else |
306 | create_numbered_filename(filename, "", "dump_", ".bmp", 4); | 306 | create_numbered_filename(filename, "", "dump_", ".bmp", 4); |