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:
Thomas Martitz 2012-06-15 20:54:42 +02:00
parent 2760d578ca
commit 2345e0c48d

View file

@ -46,7 +46,7 @@ enum {
/* Enable storage callbacks everywhere except for bootloaders. Both
* 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));
#if USING_STORAGE_CALLBACK