forked from espressif/esp-idf
Merge branch 'fix/fatfs_use_standard_flex_arrays' into 'master'
fix(storage/fatfs): use standard flex-array fields, instead of extension See merge request espressif/esp-idf!36666
This commit is contained in:
@@ -48,7 +48,7 @@ typedef struct {
|
|||||||
char dir_path[FILENAME_MAX]; /* variable to store path of opened directory*/
|
char dir_path[FILENAME_MAX]; /* variable to store path of opened directory*/
|
||||||
struct cached_data cached_fileinfo;
|
struct cached_data cached_fileinfo;
|
||||||
#endif
|
#endif
|
||||||
FIL files[0]; /* array with max_files entries; must be the final member of the structure */
|
FIL files[]; /* array with max_files entries; must be the final member of the structure */
|
||||||
} vfs_fat_ctx_t;
|
} vfs_fat_ctx_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
Reference in New Issue
Block a user