mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(nimble): fix esp_hid_device example when static_to_dynamic enabled
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user