Closed mdahamshi closed 11 months ago
Hey in lfs.c line 880: struct lfs_diskoff disk;
lfs.c
struct lfs_diskoff disk;
we use disk at line 918 without initializing it, this case an runtime check error in some compilers. we should initlize it: struct lfs_diskoff disk; = {0};
struct lfs_diskoff disk; = {0};
Should be resolved by https://github.com/littlefs-project/littlefs/pull/855, thanks for the PR! Will merge on the next path release.
Thank you.
Hey in
lfs.c
line 880:struct lfs_diskoff disk;
we use disk at line 918 without initializing it, this case an runtime check error in some compilers. we should initlize it:
struct lfs_diskoff disk; = {0};