summaryrefslogtreecommitdiff
path: root/firmware/export/ata_idle_notify.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/ata_idle_notify.h')
-rw-r--r--firmware/export/ata_idle_notify.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/export/ata_idle_notify.h b/firmware/export/ata_idle_notify.h
index 18f1648e00..348165f1d1 100644
--- a/firmware/export/ata_idle_notify.h
+++ b/firmware/export/ata_idle_notify.h
@@ -48,11 +48,9 @@ enum {
48 && (CONFIG_NAND == NAND_IFP7XX)) \ 48 && (CONFIG_NAND == NAND_IFP7XX)) \
49 && !defined(BOOTLOADER) 49 && !defined(BOOTLOADER)
50 50
51typedef bool (*storage_idle_notify)(void); 51extern void register_storage_idle_func(void (*function)(void *data));
52
53extern void register_storage_idle_func(storage_idle_notify function);
54#if USING_STORAGE_CALLBACK 52#if USING_STORAGE_CALLBACK
55extern void unregister_storage_idle_func(storage_idle_notify function, bool run); 53extern void unregister_storage_idle_func(void (*function)(void *data), bool run);
56extern bool call_storage_idle_notifys(bool force); 54extern bool call_storage_idle_notifys(bool force);
57#else 55#else
58#define unregister_storage_idle_func(f,r) 56#define unregister_storage_idle_func(f,r)