summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
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