diff options
author | Robert Kukla <roolku@rockbox.org> | 2007-03-03 00:11:20 +0000 |
---|---|---|
committer | Robert Kukla <roolku@rockbox.org> | 2007-03-03 00:11:20 +0000 |
commit | ae08eeb4ffeadb7b89f913180bdac099fc5c5071 (patch) | |
tree | f17480217ca239b14a6b4ec97d7cb45bf8840cc6 /apps/scrobbler.c | |
parent | 909b9462da8387e1c8379a52058c61bf18e222e5 (diff) | |
download | rockbox-ae08eeb4ffeadb7b89f913180bdac099fc5c5071.tar.gz rockbox-ae08eeb4ffeadb7b89f913180bdac099fc5c5071.zip |
remove runtime detection of h1x0 series RTC MOD, but leave driver code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12554 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/scrobbler.c')
-rw-r--r-- | apps/scrobbler.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/scrobbler.c b/apps/scrobbler.c index 1c0d98cbc6..a339429cab 100644 --- a/apps/scrobbler.c +++ b/apps/scrobbler.c | |||
@@ -35,7 +35,6 @@ http://www.audioscrobbler.net/wiki/Portable_Player_Logging | |||
35 | #ifdef CONFIG_RTC | 35 | #ifdef CONFIG_RTC |
36 | #include "time.h" | 36 | #include "time.h" |
37 | #include "timefuncs.h" | 37 | #include "timefuncs.h" |
38 | #include "rtc.h" | ||
39 | #endif | 38 | #endif |
40 | 39 | ||
41 | #include "scrobbler.h" | 40 | #include "scrobbler.h" |
@@ -209,11 +208,6 @@ void scrobbler_change_event(struct mp3entry *id) | |||
209 | logf("SCROBBLER: add pending"); | 208 | logf("SCROBBLER: add pending"); |
210 | copy_mp3entry(&scrobbler_entry, id); | 209 | copy_mp3entry(&scrobbler_entry, id); |
211 | #ifdef CONFIG_RTC | 210 | #ifdef CONFIG_RTC |
212 | #if CONFIG_RTC == RTC_DS1339_DS3231 | ||
213 | if(!rtc_detected) | ||
214 | timestamp = 0; | ||
215 | else | ||
216 | #endif | ||
217 | timestamp = mktime(get_time()); | 211 | timestamp = mktime(get_time()); |
218 | #else | 212 | #else |
219 | timestamp = 0; | 213 | timestamp = 0; |