diff options
-rw-r--r-- | firmware/export/ata_idle_notify.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/ata_idle_notify.h b/firmware/export/ata_idle_notify.h index 348165f1d1..7c6f951790 100644 --- a/firmware/export/ata_idle_notify.h +++ b/firmware/export/ata_idle_notify.h @@ -46,7 +46,8 @@ enum { #define USING_STORAGE_CALLBACK !defined(SIMULATOR) \ && ! ((CONFIG_STORAGE & STORAGE_NAND) \ && (CONFIG_NAND == NAND_IFP7XX)) \ - && !defined(BOOTLOADER) + && !defined(BOOTLOADER) \ + && !defined(HAVE_HOTSWAP_STORAGE_AS_MAIN) extern void register_storage_idle_func(void (*function)(void *data)); #if USING_STORAGE_CALLBACK |