forked from h2zero/esp-nimble-cpp
Fix build error when using platformio library
This commit is contained in:
1 parent
09297fb72a
commit
ad12a48e9e
2 files changed
+4
-1
No files matched your search
@@ -37,6 +37,9 @@
|
||||
# include <climits>
|
||||
|
||||
# if defined INC_FREERTOS_H
|
||||
# ifndef CONFIG_NIMBLE_CPP_FREERTOS_TASK_BLOCK_BIT
|
||||
# define CONFIG_NIMBLE_CPP_FREERTOS_TASK_BLOCK_BIT 31
|
||||
# endif
|
||||
constexpr uint32_t TASK_BLOCK_BIT = (1 << CONFIG_NIMBLE_CPP_FREERTOS_TASK_BLOCK_BIT);
|
||||
# endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user