summaryrefslogtreecommitdiff
path: root/firmware/common/dir_uncached.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-02 17:43:32 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-02 17:43:32 +0000
commit5d849a963e562d1996c20cd72228835276288141 (patch)
tree8c96a2524f6c1b6d714506a8d012a9c7ded24918 /firmware/common/dir_uncached.c
parent35bcdef1441519bb66a77b675013309ef39e9eec (diff)
downloadrockbox-5d849a963e562d1996c20cd72228835276288141.tar.gz
rockbox-5d849a963e562d1996c20cd72228835276288141.zip
Clean up multiple definitions of RAM size. Remove -DMEM (make) and MEM (code), use the already defined MEMORYSIZE instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29189 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/dir_uncached.c')
-rw-r--r--firmware/common/dir_uncached.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/dir_uncached.c b/firmware/common/dir_uncached.c
index 00123c1b07..14c8522822 100644
--- a/firmware/common/dir_uncached.c
+++ b/firmware/common/dir_uncached.c
@@ -28,7 +28,7 @@
28#include "debug.h" 28#include "debug.h"
29#include "filefuncs.h" 29#include "filefuncs.h"
30 30
31#if ((defined(MEMORYSIZE) && (MEMORYSIZE > 8)) || MEM > 8) 31#if (MEMORYSIZE > 8)
32#define MAX_OPEN_DIRS 12 32#define MAX_OPEN_DIRS 12
33#else 33#else
34#define MAX_OPEN_DIRS 8 34#define MAX_OPEN_DIRS 8