diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2014-08-30 01:08:34 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2014-08-30 01:29:18 -0400 |
commit | da4938d6eed9c1c29e389e9a1de6a599d365fe09 (patch) | |
tree | 31d34d70b83583f91626e23fb83dbba4eb094284 /firmware | |
parent | f3d60aea34de60c4371c04fa1b8482ca71a64b53 (diff) | |
download | rockbox-da4938d6eed9c1c29e389e9a1de6a599d365fe09.tar.gz rockbox-da4938d6eed9c1c29e389e9a1de6a599d365fe09.zip |
Get the last errors I hope!
Change-Id: Ia285b95480cc9ac6494b745d80892c4b1b912341
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/hosted/samsungypr/ypr0/system-ypr0.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c index a21c82b1f2..9cc307073b 100644 --- a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c +++ b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c | |||
@@ -94,6 +94,20 @@ bool hostfs_present(IF_MD_NONVOID(int drive)) | |||
94 | return true; /* internal: always present */ | 94 | return true; /* internal: always present */ |
95 | } | 95 | } |
96 | 96 | ||
97 | #ifdef HAVE_MULTIDRIVE | ||
98 | int volume_drive(int drive) | ||
99 | { | ||
100 | return drive; | ||
101 | } | ||
102 | #endif /* HAVE_MULTIDRIVE */ | ||
103 | |||
104 | #ifdef CONFIG_STORAGE_MULTI | ||
105 | int hostfs_driver_type(int drive) | ||
106 | { | ||
107 | return drive > 0 ? STORAGE_SD_NUM : STORAGE_HOSTFS_NUM; | ||
108 | } | ||
109 | #endif /* CONFIG_STORAGE_MULTI */ | ||
110 | |||
97 | #ifdef HAVE_HOTSWAP | 111 | #ifdef HAVE_HOTSWAP |
98 | bool volume_removable(int volume) | 112 | bool volume_removable(int volume) |
99 | { | 113 | { |