summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-17 21:27:46 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-17 21:30:07 -0400
commit4cdb28c167c028e89be670f54a0108af3416cd1f (patch)
tree3f73b8c70687dd660df60ff95f91b6eaf4fc2afc /uisimulator
parentb1e21bbd7a28935d077e20232a5bd3045c4bcc8f (diff)
downloadrockbox-4cdb28c167.tar.gz
rockbox-4cdb28c167.tar.bz2
rockbox-4cdb28c167.zip
Fix sim build for STORAGE_USB
Change-Id: Ie738fbc834523796a08af31f1a649632246e2bb4
Diffstat (limited to 'uisimulator')
-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 */