forked from len0rd/rockbox
Fix sim build for STORAGE_USB
Change-Id: Ie738fbc834523796a08af31f1a649632246e2bb4
This commit is contained in:
parent
b1e21bbd7a
commit
4cdb28c167
1 changed files with 2 additions and 0 deletions
|
|
@ -248,6 +248,8 @@ int hostfs_driver_type(int drive)
|
||||||
#define SIMEXT1_TYPE_NUM STORAGE_NAND_NUM
|
#define SIMEXT1_TYPE_NUM STORAGE_NAND_NUM
|
||||||
#elif (CONFIG_STORAGE & STORAGE_RAMDISK)
|
#elif (CONFIG_STORAGE & STORAGE_RAMDISK)
|
||||||
#define SIMEXT1_TYPE_NUM STORAGE_RAMDISK_NUM
|
#define SIMEXT1_TYPE_NUM STORAGE_RAMDISK_NUM
|
||||||
|
#elif (CONFIG_STORAGE & STORAGE_USB)
|
||||||
|
#define SIMEXT1_TYPE_NUM STORAGE_USB_NUM
|
||||||
#else
|
#else
|
||||||
#error Unknown storage driver
|
#error Unknown storage driver
|
||||||
#endif /* CONFIG_STORAGE */
|
#endif /* CONFIG_STORAGE */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue