diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/lastfm_scrobbler.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/lastfm_scrobbler.c b/apps/plugins/lastfm_scrobbler.c index 7ac620c2f0..4beef53913 100644 --- a/apps/plugins/lastfm_scrobbler.c +++ b/apps/plugins/lastfm_scrobbler.c | |||
@@ -33,7 +33,6 @@ http://www.audioscrobbler.net/wiki/Portable_Player_Logging | |||
33 | #define logf(...) do { } while(0) | 33 | #define logf(...) do { } while(0) |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | |||
37 | /****************** constants ******************/ | 36 | /****************** constants ******************/ |
38 | #define EV_EXIT MAKE_SYS_EVENT(SYS_EVENT_CLS_PRIVATE, 0xFF) | 37 | #define EV_EXIT MAKE_SYS_EVENT(SYS_EVENT_CLS_PRIVATE, 0xFF) |
39 | #define EV_OTHINSTANCE MAKE_SYS_EVENT(SYS_EVENT_CLS_PRIVATE, 0xFE) | 38 | #define EV_OTHINSTANCE MAKE_SYS_EVENT(SYS_EVENT_CLS_PRIVATE, 0xFE) |
@@ -299,6 +298,7 @@ static void scrobbler_write_cache(void) | |||
299 | gCache.pos = 0; | 298 | gCache.pos = 0; |
300 | } | 299 | } |
301 | 300 | ||
301 | #if USING_STORAGE_CALLBACK | ||
302 | static void scrobbler_flush_callback(void) | 302 | static void scrobbler_flush_callback(void) |
303 | { | 303 | { |
304 | (void) gCache.force_flush; | 304 | (void) gCache.force_flush; |
@@ -315,6 +315,7 @@ static void scrobbler_flush_callback(void) | |||
315 | scrobbler_write_cache(); | 315 | scrobbler_write_cache(); |
316 | } | 316 | } |
317 | } | 317 | } |
318 | #endif | ||
318 | 319 | ||
319 | static void scrobbler_add_to_cache(const struct mp3entry *id) | 320 | static void scrobbler_add_to_cache(const struct mp3entry *id) |
320 | { | 321 | { |