diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index f009419e50..966f47cb5a 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -120,7 +120,7 @@ /* Enable the directory cache if we have plenty of RAM. */ /* Cache is just temporarily disabled for simulator build. * Do the small fix in dircache.c to enable this. */ -#if MEM > 8 && !defined(BOOTLOADER) && !defined(SIMULATOR) +#if (MEMORYSIZE > 8 || MEM > 8) && !defined(BOOTLOADER) && !defined(SIMULATOR) #define HAVE_DIRCACHE 1 #endif |