summaryrefslogtreecommitdiff
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
parentb1e21bbd7a28935d077e20232a5bd3045c4bcc8f (diff)
downloadrockbox-4cdb28c167c028e89be670f54a0108af3416cd1f.tar.gz
rockbox-4cdb28c167c028e89be670f54a0108af3416cd1f.zip
Fix sim build for STORAGE_USB
Change-Id: Ie738fbc834523796a08af31f1a649632246e2bb4
-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)
248 #define SIMEXT1_TYPE_NUM STORAGE_NAND_NUM 248 #define SIMEXT1_TYPE_NUM STORAGE_NAND_NUM
249#elif (CONFIG_STORAGE & STORAGE_RAMDISK) 249#elif (CONFIG_STORAGE & STORAGE_RAMDISK)
250 #define SIMEXT1_TYPE_NUM STORAGE_RAMDISK_NUM 250 #define SIMEXT1_TYPE_NUM STORAGE_RAMDISK_NUM
251#elif (CONFIG_STORAGE & STORAGE_USB)
252 #define SIMEXT1_TYPE_NUM STORAGE_USB_NUM
251#else 253#else
252#error Unknown storage driver 254#error Unknown storage driver
253#endif /* CONFIG_STORAGE */ 255#endif /* CONFIG_STORAGE */