forked from len0rd/rockbox
Fix reds.
Change-Id: I4f065a5b9f96df4d70ee8bb2836effc9b97b01fa
This commit is contained in:
parent
470989bd70
commit
361aa9263d
2 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue