summaryrefslogtreecommitdiff
path: root/firmware/common/dir.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-06-30 02:08:27 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-06-30 02:08:27 +0000
commit1167e3c72f5d0d581b81fd2cb8f2580a1524ca5a (patch)
tree501f9901636d5586271067d0c157204e500a2cfd /firmware/common/dir.c
parent189a5f812f47e43e5704a44c3abb85a4c37c8662 (diff)
downloadrockbox-1167e3c72f5d0d581b81fd2cb8f2580a1524ca5a.zip
rockbox-1167e3c72f5d0d581b81fd2cb8f2580a1524ca5a.tar.gz
rockbox-1167e3c72f5d0d581b81fd2cb8f2580a1524ca5a.tar.bz2
rockbox-1167e3c72f5d0d581b81fd2cb8f2580a1524ca5a.tar.xz
Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with some tweaks. All testers have given the green light. (Now for the RED ?? ;).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13741 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/dir.c')
-rw-r--r--firmware/common/dir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/common/dir.c b/firmware/common/dir.c
index bc44a53..0f46652 100644
--- a/firmware/common/dir.c
+++ b/firmware/common/dir.c
@@ -37,6 +37,9 @@ static DIR opendirs[MAX_OPEN_DIRS];
#ifdef HAVE_MMC
static const char* vol_names = "<MMC%d>";
#define VOL_ENUM_POS 4 /* position of %d, to avoid runtime calculation */
+#elif defined(HAVE_HOTSWAP)
+static const char* vol_names = "<microSD%d>";
+#define VOL_ENUM_POS 8 /* position of %d, to avoid runtime calculation */
#else
static const char* vol_names = "<HD%d>";
#define VOL_ENUM_POS 3