fs/littlefs:littlefs shouldn't be used without C99 BOOL

Signed-off-by: XinStellaris <tianxin7@xiaomi.com>
This commit is contained in:
XinStellaris 2023-04-18 14:59:19 +08:00 committed by David Sidrane
parent 18e2aa2d03
commit 770817ba2f
1 changed files with 8 additions and 0 deletions

View File

@ -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
****************************************************************************/