Fix sim build for STORAGE_USB

Change-Id: Ie738fbc834523796a08af31f1a649632246e2bb4
This commit is contained in:
Solomon Peachy 2020-10-17 21:27:46 -04:00
parent b1e21bbd7a
commit 4cdb28c167
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,8 @@ int hostfs_driver_type(int drive)
#define SIMEXT1_TYPE_NUM STORAGE_NAND_NUM
#elif (CONFIG_STORAGE & STORAGE_RAMDISK)
#define SIMEXT1_TYPE_NUM STORAGE_RAMDISK_NUM
#elif (CONFIG_STORAGE & STORAGE_USB)
#define SIMEXT1_TYPE_NUM STORAGE_USB_NUM
#else
#error Unknown storage driver
#endif /* CONFIG_STORAGE */