Skip to content

Commit

Permalink
vfs: align VFS_DIR_BUFFER_SIZE with ARCHITECTURE_WORD_BYTES
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian18 committed Feb 6, 2024
1 parent 9e9238b commit 1975f4c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sys/include/vfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,12 +253,12 @@ extern "C" {
* @attention Put the check in the public header file (.h), do not put the check in the
* implementation (.c) file.
*/
#define VFS_DIR_BUFFER_SIZE MAX5(FATFS_VFS_DIR_BUFFER_SIZE, \
LITTLEFS_VFS_DIR_BUFFER_SIZE, \
LITTLEFS2_VFS_DIR_BUFFER_SIZE, \
SPIFFS_VFS_DIR_BUFFER_SIZE, \
LWEXT4_VFS_DIR_BUFFER_SIZE \
)
#define VFS_DIR_BUFFER_SIZE MATH_ALIGN(MAX5(FATFS_VFS_DIR_BUFFER_SIZE, \
LITTLEFS_VFS_DIR_BUFFER_SIZE, \
LITTLEFS2_VFS_DIR_BUFFER_SIZE, \
SPIFFS_VFS_DIR_BUFFER_SIZE, \
LWEXT4_VFS_DIR_BUFFER_SIZE), \
ARCHITECTURE_WORD_BYTES)
#endif

#ifndef VFS_FILE_BUFFER_SIZE
Expand Down

0 comments on commit 1975f4c

Please sign in to comment.