WIP Changed internal API to return tags over pointers

This commit is contained in:
Christopher Haster
2018-07-12 20:22:06 -05:00
parent e6d49feb4a
commit 6a99f6c8fc
2 changed files with 154 additions and 196 deletions

3
lfs.h
View File

@@ -262,9 +262,8 @@ struct lfs_attr {
/// littlefs data structures ///
typedef uint32_t lfs_tag_t;
typedef struct lfs_mattr {
lfs_tag_t tag;
int32_t tag;
union {
void *buffer;
lfs_block_t pair[2];