forked from len0rd/rockbox
hosted: disable USING_STORAGE_CALLBACK again
6b8330d was not the correct fix. In fact, it prevents settings from being
written as there's no DISK_EVENT_SPINUP event, so they were only saved on
proper shutdown.
Change-Id: Iad26366f2821ed6adf445c391d461563c5782a71
This commit is contained in:
parent
2760d578ca
commit
2345e0c48d
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ enum {
|
||||||
/* Enable storage callbacks everywhere except for bootloaders. Both
|
/* Enable storage callbacks everywhere except for bootloaders. Both
|
||||||
* hosted and native targets need this.
|
* hosted and native targets need this.
|
||||||
*/
|
*/
|
||||||
#define USING_STORAGE_CALLBACK !defined(BOOTLOADER)
|
#define USING_STORAGE_CALLBACK !defined(BOOTLOADER) && !defined(APPLICATION)
|
||||||
|
|
||||||
extern void register_storage_idle_func(void (*function)(void *data));
|
extern void register_storage_idle_func(void (*function)(void *data));
|
||||||
#if USING_STORAGE_CALLBACK
|
#if USING_STORAGE_CALLBACK
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue