Fix build error when using platformio library

This commit is contained in:
h2zero authored and Ryan Powell committed 2025-01-02 08:29:44 -07:00
1 parent 09297fb72a
commit ad12a48e9e
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -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