From 1b48d1db2ce005d46f595dae712848fd83e55bed Mon Sep 17 00:00:00 2001 From: schneider <schneider@blinkenlichts.net> Date: Sat, 3 Aug 2019 20:46:06 +0200 Subject: [PATCH] fix(fatfs): Reduce maximum open files to 16 --- epicardium/modules/modules.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epicardium/modules/modules.h b/epicardium/modules/modules.h index e273146f..182fdae7 100644 --- a/epicardium/modules/modules.h +++ b/epicardium/modules/modules.h @@ -3,11 +3,11 @@ /* ---------- FAT fs ------------------------------------------------------ */ /* Number of bits to use for indexing into our internal pool of files/directories - * This indirectly specifies the size of the pool as 1^EPIC_FAT_FD_INDEX_BITS + * This indirectly specifies the size of the pool as 2^EPIC_FAT_FD_INDEX_BITS * Increase if number of open file descriptors is not enough, but be aware of * memory usage of the pool! */ -#define EPIC_FAT_FD_INDEX_BITS 8 +#define EPIC_FAT_FD_INDEX_BITS 4 #define EPIC_FAT_STATIC_SEMAPHORE 1 void fatfs_init(void); -- GitLab