mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Get the last errors I hope!
Change-Id: Ia285b95480cc9ac6494b745d80892c4b1b912341
This commit is contained in:
parent
f3d60aea34
commit
da4938d6ee
6 changed files with 48 additions and 9 deletions
|
|
@ -94,6 +94,20 @@ bool hostfs_present(IF_MD_NONVOID(int drive))
|
|||
return true; /* internal: always present */
|
||||
}
|
||||
|
||||
#ifdef HAVE_MULTIDRIVE
|
||||
int volume_drive(int drive)
|
||||
{
|
||||
return drive;
|
||||
}
|
||||
#endif /* HAVE_MULTIDRIVE */
|
||||
|
||||
#ifdef CONFIG_STORAGE_MULTI
|
||||
int hostfs_driver_type(int drive)
|
||||
{
|
||||
return drive > 0 ? STORAGE_SD_NUM : STORAGE_HOSTFS_NUM;
|
||||
}
|
||||
#endif /* CONFIG_STORAGE_MULTI */
|
||||
|
||||
#ifdef HAVE_HOTSWAP
|
||||
bool volume_removable(int volume)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue