Skip to content

Commit 3ed97b1

Browse files
committed
CMake: fix lifflefs filesystem header include path
- LittleFileSystem.h and LittleFileSystem.cpp refers to the littflefs headers with the complete path like storage/filesystem/littlefs/littlefs/lfs_util.h and fixed the path issue
1 parent 30421e8 commit 3ed97b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

storage/filesystem/littlefs/include/littlefs/LittleFileSystem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "filesystem/FileSystem.h"
2525
#include "blockdevice/BlockDevice.h"
2626
#include "platform/PlatformMutex.h"
27-
#include "storage/filesystem/littlefs/littlefs/lfs.h"
27+
#include "littlefs/lfs.h"
2828

2929
namespace mbed {
3030

storage/filesystem/littlefs/source/LittleFileSystem.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#include "filesystem/mbed_filesystem.h"
1818
#include "littlefs/LittleFileSystem.h"
1919
#include "errno.h"
20-
#include "storage/filesystem/littlefs/littlefs/lfs.h"
21-
#include "storage/filesystem/littlefs/littlefs/lfs_util.h"
20+
#include "littlefs/lfs.h"
21+
#include "littlefs/lfs_util.h"
2222
#include "MbedCRC.h"
2323

2424
namespace mbed {

0 commit comments

Comments
 (0)