Use larger event stack for esp_hid_host example

Merges https://github.com/espressif/esp-idf/pull/6385
This commit is contained in:
Layne Bernardo 2021-01-11 07:43:54 -06:00 committed by Ivan Grokhotkov
parent d1c8c268d4
commit 5266d81602

View File

@ -127,6 +127,7 @@ void app_main(void)
ESP_ERROR_CHECK( esp_ble_gattc_register_callback(esp_hidh_gattc_event_handler) );
esp_hidh_config_t config = {
.callback = hidh_callback,
.event_stack_size = 4096
};
ESP_ERROR_CHECK( esp_hidh_init(&config) );