diff options
Diffstat (limited to 'bootloader/x1000/x1000bootloader.h')
-rw-r--r-- | bootloader/x1000/x1000bootloader.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bootloader/x1000/x1000bootloader.h b/bootloader/x1000/x1000bootloader.h index 05f421fc61..bb35cd3b78 100644 --- a/bootloader/x1000/x1000bootloader.h +++ b/bootloader/x1000/x1000bootloader.h | |||
@@ -23,6 +23,7 @@ | |||
23 | #define __X1000BOOTLOADER_H__ | 23 | #define __X1000BOOTLOADER_H__ |
24 | 24 | ||
25 | #include "config.h" | 25 | #include "config.h" |
26 | #include <stdbool.h> | ||
26 | 27 | ||
27 | #if defined(FIIO_M3K) | 28 | #if defined(FIIO_M3K) |
28 | # define BL_RECOVERY BUTTON_VOL_UP | 29 | # define BL_RECOVERY BUTTON_VOL_UP |
@@ -96,6 +97,14 @@ void reboot(void); | |||
96 | * Misc | 97 | * Misc |
97 | */ | 98 | */ |
98 | 99 | ||
100 | enum { | ||
101 | DISK_PRESENT = 0, | ||
102 | DISK_ABSENT = -1, | ||
103 | DISK_CANCELED = -2, | ||
104 | }; | ||
105 | |||
106 | int check_disk(bool wait); | ||
107 | |||
99 | void recovery_menu(void) __attribute__((noreturn)); | 108 | void recovery_menu(void) __attribute__((noreturn)); |
100 | 109 | ||
101 | #endif /* __X1000BOOTLOADER_H__ */ | 110 | #endif /* __X1000BOOTLOADER_H__ */ |