fix(nimble): fix esp_hid_device example when static_to_dynamic enabled

This commit is contained in:
Astha Verma
2026-01-12 17:54:52 +05:30
committed by BOT
parent 4a0242d70b
commit 8586b8d671
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -290,7 +290,7 @@ menu "GAP"
config BT_NIMBLE_MAX_CCCDS
int "Maximum number of CCC descriptors to save across reboots"
default 8
depends on BT_NIMBLE_ENABLED && BT_NIMBLE_NVS_PERSIST
depends on BT_NIMBLE_ENABLED
help
Defines maximum number of CCC descriptors to save
+1
View File
@@ -1003,6 +1003,7 @@ esp_hidh_dev_t *esp_ble_hidh_dev_open(uint8_t *bda, uint8_t address_type)
dev->report_write = esp_ble_hidh_dev_report_write;
dev->report_read = esp_ble_hidh_dev_report_read;
dev->dump = esp_ble_hidh_dev_dump;
dev->connected = true;
/* perform service discovery and fill the report maps */
read_device_services(dev);