From 9bebc0fb8213b9fe660531608c52fc61f7ed0b6d Mon Sep 17 00:00:00 2001 From: li_zan <371442490@qq.com> Date: Fri, 30 Apr 2021 17:02:42 +0800 Subject: [PATCH] add littlefs code --- components/fs/littlefs/lfs_api.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/fs/littlefs/lfs_api.h b/components/fs/littlefs/lfs_api.h index 780ef397..3fed19c4 100644 --- a/components/fs/littlefs/lfs_api.h +++ b/components/fs/littlefs/lfs_api.h @@ -29,6 +29,9 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifndef _LFS_API_H_ +#define _LFS_API_H_ + #include "bits/alltypes.h" #include "sys/stat.h" @@ -130,4 +133,5 @@ int LfsFsync(int fd); FileOpInfo GetFsOpInfo(void); const struct FsMap *MountFindfs(const char *filesystemtype); +#endif /* _LFS_API_H_ */