Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cores/nRF5/common_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <stdbool.h>

#include "compiler_macro.h"
#include "verify.h"
#include "common_func.h"
#include "verify.h"

#endif /* COMMON_INC_H_ */
8 changes: 3 additions & 5 deletions libraries/Adafruit_LittleFS/src/littlefs/lfs_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
#include <stdbool.h>
#include <string.h>

#include "FreeRTOS.h"

#ifndef LFS_NO_MALLOC
#include <stdlib.h>
#endif
Expand Down Expand Up @@ -56,21 +54,21 @@ extern "C"
// Logging functions
#ifndef LFS_NO_DEBUG
#define LFS_DEBUG(fmt, ...) \
PRINTF("lfs debug:%d: " fmt "\n", __LINE__, __VA_ARGS__)
printf("lfs debug:%d: " fmt "\n", __LINE__, __VA_ARGS__)
#else
#define LFS_DEBUG(fmt, ...)
#endif

#ifndef LFS_NO_WARN
#define LFS_WARN(fmt, ...) \
PRINTF("lfs warn:%d: " fmt "\n", __LINE__, __VA_ARGS__)
printf("lfs warn:%d: " fmt "\n", __LINE__, __VA_ARGS__)
#else
#define LFS_WARN(fmt, ...)
#endif

#ifndef LFS_NO_ERROR
#define LFS_ERROR(fmt, ...) \
PRINTF("lfs error:%d: " fmt "\n", __LINE__, __VA_ARGS__)
printf("lfs error:%d: " fmt "\n", __LINE__, __VA_ARGS__)
#else
#define LFS_ERROR(fmt, ...)
#endif
Expand Down