summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-06-15 20:54:42 +0200
committerThomas Martitz <kugel@rockbox.org>2012-06-15 20:54:42 +0200
commit2345e0c48d4b84dcba9634397bc4853cd70d72a4 (patch)
tree97660311de97b7603464a01cc8cf7115c10bcd48 /firmware
parent2760d578ca95620fa5aad0aa72000bd5bc966597 (diff)
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/ata_idle_notify.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/ata_idle_notify.h b/firmware/export/ata_idle_notify.h
index a3fc4758b1..644df93851 100644
--- a/firmware/export/ata_idle_notify.h
+++ b/firmware/export/ata_idle_notify.h
@@ -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