mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2025-01-09 02:54:36 +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",
|
"name": "esp-nimble-cpp",
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"description": "C++ wrapper for the NimBLE BLE stack",
|
"description": "C++ wrapper for the NimBLE BLE stack",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"BLE",
|
"BLE",
|
||||||
|
|
|
@ -37,6 +37,9 @@
|
||||||
# include <climits>
|
# include <climits>
|
||||||
|
|
||||||
# if defined INC_FREERTOS_H
|
# 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);
|
constexpr uint32_t TASK_BLOCK_BIT = (1 << CONFIG_NIMBLE_CPP_FREERTOS_TASK_BLOCK_BIT);
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue