fix(vfs): add MALLOC_CAP_8BIT for vfs select

This commit is contained in:
zwx 2023-12-06 19:03:34 +08:00
parent c9f1d3e8be
commit e951cebfa2

View File

@ -13,9 +13,9 @@ extern "C" {
#endif
#if CONFIG_VFS_SELECT_IN_RAM
#define VFS_MALLOC_FLAGS MALLOC_CAP_INTERNAL
#define VFS_MALLOC_FLAGS (MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT)
#else
#define VFS_MALLOC_FLAGS MALLOC_CAP_DEFAULT
#define VFS_MALLOC_FLAGS (MALLOC_CAP_DEFAULT)
#endif
typedef struct vfs_entry_ {