Fix reds.
Change-Id: I4f065a5b9f96df4d70ee8bb2836effc9b97b01fa
This commit is contained in:
parent
470989bd70
commit
361aa9263d
2 changed files with 4 additions and 2 deletions
|
@ -146,6 +146,6 @@ void notification_init(void)
|
|||
finishNotification = e->GetMethodID(env_ptr, class, "finishNotification",
|
||||
"()V");
|
||||
|
||||
add_event(PLAYBACK_EVENT_TRACK_CHANGE track_changed_callback);
|
||||
add_event(PLAYBACK_EVENT_TRACK_FINISH track_finished_callback);
|
||||
add_event(PLAYBACK_EVENT_TRACK_CHANGE, track_changed_callback);
|
||||
add_event(PLAYBACK_EVENT_TRACK_FINISH, track_finished_callback);
|
||||
}
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include "kernel.h"
|
||||
#include "string.h"
|
||||
|
||||
#if USING_STORAGE_CALLBACK
|
||||
static void wrapper(unsigned short id, void *ev_data, void *user_data)
|
||||
{
|
||||
(void)id;
|
||||
|
@ -32,6 +33,7 @@ static void wrapper(unsigned short id, void *ev_data, void *user_data)
|
|||
void (*func)(void) = user_data;
|
||||
func();
|
||||
}
|
||||
#endif
|
||||
|
||||
void register_storage_idle_func(void (*function)(void))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue