diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-02-18 07:11:11 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-02-23 20:23:51 +0100 |
commit | 706e6b7a75339cadc7b8a856a2eace68f89bb168 (patch) | |
tree | a2333677f20154021d6a1df80c4ff5899a1ff7cb /firmware/include/dir.h | |
parent | 3f116769fded08d8fe4d08d4b1de4a7ba4738390 (diff) | |
download | rockbox-706e6b7a75339cadc7b8a856a2eace68f89bb168.tar.gz rockbox-706e6b7a75339cadc7b8a856a2eace68f89bb168.zip |
Move VOL_NAMES definition to mv.h
Fits better and including dir.h is more messy for some places.
Change-Id: I3ec30dcc1ac2734ad3844c903238b6cc2f4e134c
Diffstat (limited to 'firmware/include/dir.h')
-rw-r--r-- | firmware/include/dir.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/firmware/include/dir.h b/firmware/include/dir.h index 3427893024..6e8b70588e 100644 --- a/firmware/include/dir.h +++ b/firmware/include/dir.h | |||
@@ -24,23 +24,6 @@ | |||
24 | 24 | ||
25 | #include "config.h" | 25 | #include "config.h" |
26 | 26 | ||
27 | #ifdef HAVE_MULTIVOLUME | ||
28 | |||
29 | /* how to name volumes, first char must be outside of legal file names, | ||
30 | a number gets appended to enumerate, if applicable */ | ||
31 | #if (CONFIG_STORAGE & STORAGE_MMC) | ||
32 | #define VOL_NAMES "<MMC%d>" | ||
33 | #define VOL_ENUM_POS 4 /* position of %d, to avoid runtime calculation */ | ||
34 | #elif (CONFIG_STORAGE & STORAGE_SD) | ||
35 | #define VOL_NAMES "<microSD%d>" | ||
36 | #define VOL_ENUM_POS 8 /* position of %d, to avoid runtime calculation */ | ||
37 | #else | ||
38 | #define VOL_NAMES "<HD%d>" | ||
39 | #define VOL_ENUM_POS 3 | ||
40 | #endif | ||
41 | |||
42 | #endif | ||
43 | |||
44 | #define ATTR_READ_ONLY 0x01 | 27 | #define ATTR_READ_ONLY 0x01 |
45 | #define ATTR_HIDDEN 0x02 | 28 | #define ATTR_HIDDEN 0x02 |
46 | #define ATTR_SYSTEM 0x04 | 29 | #define ATTR_SYSTEM 0x04 |