mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-21 19:48:55 +00:00
v1.1.1
This commit is contained in:
13
packages/third-party/littlefs/lfs.c
vendored
13
packages/third-party/littlefs/lfs.c
vendored
@@ -5266,6 +5266,19 @@ cleanup:
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef RT_DEBUG
|
||||
static bool lfs_mlist_isopen(struct lfs_mlist *head,
|
||||
struct lfs_mlist *node)
|
||||
{
|
||||
for (struct lfs_mlist **p = &head; *p; p = &(*p)->next) {
|
||||
if (*p == (struct lfs_mlist*)node) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
/// Public API wrappers ///
|
||||
|
||||
|
||||
Reference in New Issue
Block a user