mirror of
https://github.com/eledio-devices/thirdparty-littlefs.git
synced 2025-11-01 00:38:29 +01:00
WIP Moved move things into a better place
This commit is contained in:
3
lfs.h
3
lfs.h
@@ -113,7 +113,7 @@ enum lfs_type {
|
|||||||
// internally used types
|
// internally used types
|
||||||
LFS_TYPE_NAME_ = 0x010,
|
LFS_TYPE_NAME_ = 0x010,
|
||||||
LFS_TYPE_MOVE_ = 0x080,
|
LFS_TYPE_MOVE_ = 0x080,
|
||||||
LFS_TYPE_DROP_ = 0x090,
|
LFS_TYPE_DELETE_ = 0x090,
|
||||||
|
|
||||||
LFS_TYPE_SUPERBLOCK_ = 0x0a0,
|
LFS_TYPE_SUPERBLOCK_ = 0x0a0,
|
||||||
LFS_TYPE_SOFTTAIL_ = 0x0c0,
|
LFS_TYPE_SOFTTAIL_ = 0x0c0,
|
||||||
@@ -367,6 +367,7 @@ typedef struct lfs_dir_ {
|
|||||||
uint16_t count;
|
uint16_t count;
|
||||||
bool erased;
|
bool erased;
|
||||||
bool split;
|
bool split;
|
||||||
|
int16_t moveid;
|
||||||
|
|
||||||
uint16_t id;
|
uint16_t id;
|
||||||
lfs_block_t head[2];
|
lfs_block_t head[2];
|
||||||
|
|||||||
Reference in New Issue
Block a user