summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/export/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 6a5c881..4a25b91 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -218,7 +218,8 @@
/* Enable the directory cache and tagcache in RAM if we have
* plenty of RAM. Both features can be enabled independently. */
-#if defined(MEMORYSIZE) && (MEMORYSIZE > 8 || MEM > 8) && !defined(BOOTLOADER)
+#if (!defined(MEMORYSIZE) || (MEMORYSIZE > 8) || (MEM > 8)) && \
+ !defined(BOOTLOADER)
#define HAVE_DIRCACHE
#ifdef HAVE_TAGCACHE
#define HAVE_TC_RAMCACHE