summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--uisimulator/common/sim_tasks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/common/sim_tasks.c b/uisimulator/common/sim_tasks.c
index c2497d113b..c862d4d909 100644
--- a/uisimulator/common/sim_tasks.c
+++ b/uisimulator/common/sim_tasks.c
@@ -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 */