mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2025-01-07 18:14:34 +01:00
Fix build error when using platformio library
This commit is contained in:
parent
09297fb72a
commit
ad12a48e9e
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "esp-nimble-cpp",
|
||||
"version": "2.0.1",
|
||||
"version": "2.0.2",
|
||||
"description": "C++ wrapper for the NimBLE BLE stack",
|
||||
"keywords": [
|
||||
"BLE",
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue