summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-12-04 15:23:47 +0000
committerDave Chapman <dave@dchapman.com>2005-12-04 15:23:47 +0000
commit8c800cf59af23eaa22b97e89556640f63998b9bd (patch)
tree96115da5d0597b7625c637158364866d365258e1 /apps/recorder
parent0ea71be34895a225e137af20faea2adc9f113853 (diff)
Replace references to HAVE_RTC with CONFIG_RTC and remove the HAVE_RTC defines from config-*.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8147 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/icons.h2
-rw-r--r--apps/recorder/recording.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h
index a21b801cb9..72dc70a95c 100644
--- a/apps/recorder/icons.h
+++ b/apps/recorder/icons.h
@@ -122,7 +122,7 @@ extern void statusbar_icon_play_state(int state);
extern void statusbar_icon_play_mode(int mode);
extern void statusbar_icon_shuffle(void);
extern void statusbar_icon_lock(void);
-#ifdef HAVE_RTC
+#ifdef CONFIG_RTC
extern void statusbar_time(int hour, int minute);
#endif
#if CONFIG_LED == LED_VIRTUAL
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index c7da2bbb9f..4ca4bcb925 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -210,7 +210,7 @@ char *rec_create_filename(char *buffer)
else
strncpy(buffer, rec_base_directory, MAX_PATH);
-#ifdef HAVE_RTC
+#ifdef CONFIG_RTC
create_datetime_filename(buffer, buffer, "R", REC_FILE_ENDING);
#else
create_numbered_filename(buffer, buffer, "rec_", REC_FILE_ENDING, 4);