mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
vfs: fix FATFS_VFS_FILE_BUFFER_SIZE for increased VFS_NAME_MAX
This commit is contained in:
parent
2d459157f1
commit
278dec22b1
@ -141,11 +141,11 @@ extern "C" {
|
||||
|
||||
# if (__SIZEOF_POINTER__ == 8)
|
||||
# define FATFS_VFS_DIR_BUFFER_SIZE (64 + _FATFS_DIR_LFN + _FATFS_DIR_EXFAT)
|
||||
# define FATFS_VFS_FILE_BUFFER_SIZE (57 + VFS_NAME_MAX + _FATFS_FILE_CACHE + \
|
||||
# define FATFS_VFS_FILE_BUFFER_SIZE (64 + VFS_NAME_MAX + _FATFS_FILE_CACHE + \
|
||||
_FATFS_FILE_SEEK_PTR + _FATFS_FILE_EXFAT)
|
||||
# else
|
||||
# define FATFS_VFS_DIR_BUFFER_SIZE (44 + _FATFS_DIR_LFN + _FATFS_DIR_EXFAT)
|
||||
# define FATFS_VFS_FILE_BUFFER_SIZE (41 + VFS_NAME_MAX + _FATFS_FILE_CACHE + \
|
||||
# define FATFS_VFS_FILE_BUFFER_SIZE (44 + VFS_NAME_MAX + _FATFS_FILE_CACHE + \
|
||||
_FATFS_FILE_SEEK_PTR + _FATFS_FILE_EXFAT)
|
||||
# endif
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user