diff options
Diffstat (limited to 'firmware/target/hosted/fiio')
-rw-r--r-- | firmware/target/hosted/fiio/system-fiio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/hosted/fiio/system-fiio.c b/firmware/target/hosted/fiio/system-fiio.c index f011ceea75..46a4d0f835 100644 --- a/firmware/target/hosted/fiio/system-fiio.c +++ b/firmware/target/hosted/fiio/system-fiio.c | |||
@@ -174,7 +174,11 @@ int volume_drive(int drive) | |||
174 | #ifdef CONFIG_STORAGE_MULTI | 174 | #ifdef CONFIG_STORAGE_MULTI |
175 | int hostfs_driver_type(int drive) | 175 | int hostfs_driver_type(int drive) |
176 | { | 176 | { |
177 | #if (CONFIG_STORAGE & STORAGE_USB) | ||
178 | return drive > 0 ? STORAGE_USB_NUM : STORAGE_HOSTFS_NUM; | ||
179 | #else | ||
177 | return drive > 0 ? STORAGE_SD_NUM : STORAGE_HOSTFS_NUM; | 180 | return drive > 0 ? STORAGE_SD_NUM : STORAGE_HOSTFS_NUM; |
181 | #endif | ||
178 | } | 182 | } |
179 | #endif /* CONFIG_STORAGE_MULTI */ | 183 | #endif /* CONFIG_STORAGE_MULTI */ |
180 | 184 | ||