diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-17 21:27:46 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-17 21:30:07 -0400 |
commit | 4cdb28c167c028e89be670f54a0108af3416cd1f (patch) | |
tree | 3f73b8c70687dd660df60ff95f91b6eaf4fc2afc | |
parent | b1e21bbd7a28935d077e20232a5bd3045c4bcc8f (diff) | |
download | rockbox-4cdb28c167c028e89be670f54a0108af3416cd1f.tar.gz rockbox-4cdb28c167c028e89be670f54a0108af3416cd1f.zip |
Fix sim build for STORAGE_USB
Change-Id: Ie738fbc834523796a08af31f1a649632246e2bb4
-rw-r--r-- | uisimulator/common/sim_tasks.c | 2 |
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 */ |