mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(vfs): add MALLOC_CAP_8BIT for vfs select
This commit is contained in:
parent
c9f1d3e8be
commit
e951cebfa2
@ -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_ {
|
||||
|
Loading…
x
Reference in New Issue
Block a user