summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-03-14 23:43:45 +0100
committerThomas Martitz <kugel@rockbox.org>2014-03-14 23:43:45 +0100
commit361aa9263d51dcd3f8951b0da31aba77758726a9 (patch)
tree617ee1d90c903b4b7f28307b6f7035019d60ea6b
parent470989bd708d9a425dbbf2d83b8fcbd0a8d0f488 (diff)
downloadrockbox-361aa9263d51dcd3f8951b0da31aba77758726a9.tar.gz
rockbox-361aa9263d51dcd3f8951b0da31aba77758726a9.zip
Fix reds.
Change-Id: I4f065a5b9f96df4d70ee8bb2836effc9b97b01fa
-rw-r--r--apps/hosted/android/notification.c4
-rw-r--r--firmware/ata_idle_notify.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/hosted/android/notification.c b/apps/hosted/android/notification.c
index 66715d26f9..39c8b07737 100644
--- a/apps/hosted/android/notification.c
+++ b/apps/hosted/android/notification.c
@@ -146,6 +146,6 @@ void notification_init(void)
146 finishNotification = e->GetMethodID(env_ptr, class, "finishNotification", 146 finishNotification = e->GetMethodID(env_ptr, class, "finishNotification",
147 "()V"); 147 "()V");
148 148
149 add_event(PLAYBACK_EVENT_TRACK_CHANGE track_changed_callback); 149 add_event(PLAYBACK_EVENT_TRACK_CHANGE, track_changed_callback);
150 add_event(PLAYBACK_EVENT_TRACK_FINISH track_finished_callback); 150 add_event(PLAYBACK_EVENT_TRACK_FINISH, track_finished_callback);
151} 151}
diff --git a/firmware/ata_idle_notify.c b/firmware/ata_idle_notify.c
index ee9f3c035f..a50866dcdc 100644
--- a/firmware/ata_idle_notify.c
+++ b/firmware/ata_idle_notify.c
@@ -25,6 +25,7 @@
25#include "kernel.h" 25#include "kernel.h"
26#include "string.h" 26#include "string.h"
27 27
28#if USING_STORAGE_CALLBACK
28static void wrapper(unsigned short id, void *ev_data, void *user_data) 29static void wrapper(unsigned short id, void *ev_data, void *user_data)
29{ 30{
30 (void)id; 31 (void)id;
@@ -32,6 +33,7 @@ static void wrapper(unsigned short id, void *ev_data, void *user_data)
32 void (*func)(void) = user_data; 33 void (*func)(void) = user_data;
33 func(); 34 func();
34} 35}
36#endif
35 37
36void register_storage_idle_func(void (*function)(void)) 38void register_storage_idle_func(void (*function)(void))
37{ 39{