Skip to content

Commit

Permalink
Rename LFS_USER_DEFINES to LFS_DEFINES
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt authored and geky committed Sep 24, 2024
1 parent e1636d0 commit 4a845be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lfs_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
// extern void *my_malloc(size_t sz);
// #define LFS_MALLOC(sz) my_malloc(sz)
//
// And build littlefs with the header by defining LFS_USER_DEFINES.
// (-DLFS_USER_DEFINES=my_defines.h)
// And build littlefs with the header by defining LFS_DEFINES.
// (-DLFS_DEFINES=my_defines.h)

#ifdef LFS_USER_DEFINES
#include LFS_STRINGIZE(LFS_USER_DEFINES)
#ifdef LFS_DEFINES
#include LFS_STRINGIZE(LFS_DEFINES)
#endif

// System includes
Expand Down

0 comments on commit 4a845be

Please sign in to comment.