mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2025-09-25 13:31:15 +02:00
Fix docs build
This commit is contained in:
@@ -2416,12 +2416,12 @@ INCLUDE_FILE_PATTERNS =
|
|||||||
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
|
||||||
|
|
||||||
PREDEFINED = _DOXYGEN_ \
|
PREDEFINED = _DOXYGEN_ \
|
||||||
CONFIG_BT_ENABLED \
|
CONFIG_BT_NIMBLE_ENABLED=1 \
|
||||||
CONFIG_BT_NIMBLE_ROLE_CENTRAL \
|
MYNEWT_VAL_BLE_ROLE_CENTRAL=1 \
|
||||||
CONFIG_BT_NIMBLE_ROLE_OBSERVER \
|
MYNEWT_VAL_BLE_ROLE_OBSERVER=1 \
|
||||||
CONFIG_BT_NIMBLE_ROLE_PERIPHERAL \
|
MYNEWT_VAL_BLE_ROLE_PERIPHERAL=1 \
|
||||||
CONFIG_BT_NIMBLE_ROLE_BROADCASTER \
|
MYNEWT_VAL_BLE_ROLE_BROADCASTER=1 \
|
||||||
CONFIG_BT_NIMBLE_EXT_ADV
|
MYNEWT_VAL_BLE_EXT_ADV=1
|
||||||
|
|
||||||
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
|
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
|
||||||
# tag can be used to specify a list of macro names that should be expanded. The
|
# tag can be used to specify a list of macro names that should be expanded. The
|
||||||
|
@@ -909,7 +909,7 @@ bool NimBLEDevice::init(const std::string& deviceName) {
|
|||||||
bt_cfg.mode = ESP_BT_MODE_BLE;
|
bt_cfg.mode = ESP_BT_MODE_BLE;
|
||||||
bt_cfg.ble_max_conn = MYNEWT_VAL(BLE_MAX_CONNECTIONS);
|
bt_cfg.ble_max_conn = MYNEWT_VAL(BLE_MAX_CONNECTIONS);
|
||||||
# elif defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S3)
|
# elif defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S3)
|
||||||
bt_cfg.ble_max_act = MYNEWT_VAL(BLE_MAX_CONNECTIONS);
|
bt_cfg.ble_max_act = MYNEWT_VAL(BLE_MAX_CONNECTIONS) + MYNEWT_VAL(BLE_ROLE_BROADCASTER) + MYNEWT_VAL(BLE_ROLE_OBSERVER);
|
||||||
# else
|
# else
|
||||||
bt_cfg.nimble_max_connections = MYNEWT_VAL(BLE_MAX_CONNECTIONS);
|
bt_cfg.nimble_max_connections = MYNEWT_VAL(BLE_MAX_CONNECTIONS);
|
||||||
# endif
|
# endif
|
||||||
|
Reference in New Issue
Block a user