diff options
Diffstat (limited to 'firmware/export/storage.h')
-rw-r--r-- | firmware/export/storage.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/storage.h b/firmware/export/storage.h index e6424f7b03..ee1423c93a 100644 --- a/firmware/export/storage.h +++ b/firmware/export/storage.h | |||
@@ -34,6 +34,9 @@ | |||
34 | #if (CONFIG_STORAGE & STORAGE_SD) | 34 | #if (CONFIG_STORAGE & STORAGE_SD) |
35 | #include "sd.h" | 35 | #include "sd.h" |
36 | #endif | 36 | #endif |
37 | #if (CONFIG_STORAGE & STORAGE_USB) | ||
38 | // TODO: Doesn't matter until we're native | ||
39 | #endif | ||
37 | #if (CONFIG_STORAGE & STORAGE_MMC) | 40 | #if (CONFIG_STORAGE & STORAGE_MMC) |
38 | #include "mmc.h" | 41 | #include "mmc.h" |
39 | #endif | 42 | #endif |
@@ -97,6 +100,9 @@ int nand_event(long id, intptr_t data); | |||
97 | #if (CONFIG_STORAGE & STORAGE_RAMDISK) | 100 | #if (CONFIG_STORAGE & STORAGE_RAMDISK) |
98 | int ramdisk_event(long id, intptr_t data); | 101 | int ramdisk_event(long id, intptr_t data); |
99 | #endif | 102 | #endif |
103 | #if (CONFIG_STORAGE & STORAGE_USB) | ||
104 | // int usb_event(long id, intptr_t data); // TODO: Implement | ||
105 | #endif | ||
100 | 106 | ||
101 | struct storage_info | 107 | struct storage_info |
102 | { | 108 | { |
@@ -278,6 +284,8 @@ static inline void storage_sleep(void) {}; | |||
278 | #define storage_present(drive) ramdisk_present(IF_MD(drive)) | 284 | #define storage_present(drive) ramdisk_present(IF_MD(drive)) |
279 | #endif | 285 | #endif |
280 | #define storage_driver_type(drive) (STORAGE_RAMDISK_NUM) | 286 | #define storage_driver_type(drive) (STORAGE_RAMDISK_NUM) |
287 | #elif (CONFIG_STORAGE & STORAGE_USB) | ||
288 | // TODO: Eventually fix me | ||
281 | #else | 289 | #else |
282 | //#error No storage driver! | 290 | //#error No storage driver! |
283 | #endif | 291 | #endif |