Skip to content

Commit

Permalink
fs/littlefs:littlefs shouldn't be used without C99 BOOL
Browse files Browse the repository at this point in the history
Signed-off-by: XinStellaris <tianxin7@xiaomi.com>
  • Loading branch information
XinStellaris committed Apr 18, 2023
1 parent 5207295 commit e04124d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions fs/littlefs/lfs_vfs.c
Expand Up @@ -39,6 +39,14 @@
#include "littlefs/lfs.h"
#include "littlefs/lfs_util.h"

/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

#ifndef CONFIG_C99_BOOL
# error littlefs requires CONFIG_C99_BOOL to be selected```
#endif

/****************************************************************************
* Private Types
****************************************************************************/
Expand Down

0 comments on commit e04124d

Please sign in to comment.