summaryrefslogtreecommitdiff
path: root/apps/scrobbler.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/scrobbler.c')
-rw-r--r--apps/scrobbler.c6
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;