WIP added entry size field

This commit is contained in:
Christopher Haster
2018-03-15 20:58:29 -05:00
parent 1ea3d04d9c
commit 87df75d009
2 changed files with 33 additions and 52 deletions

3
lfs.h
View File

@@ -196,6 +196,7 @@ struct lfs_info {
/// littlefs data structures ///
typedef struct lfs_entry {
lfs_off_t off;
lfs_size_t size;
struct lfs_disk_entry {
uint8_t type;
@@ -249,8 +250,6 @@ typedef struct lfs_dir {
} lfs_dir_t;
typedef struct lfs_superblock {
lfs_off_t off;
struct lfs_disk_superblock {
uint8_t type;
uint8_t elen;