kopia lustrzana https://github.com/espressif/esp-idf
esp_hid: fix gcc-12 compile errors
rodzic
adcdfa641c
commit
bda5befdf5
|
@ -569,7 +569,7 @@ void bt_hidd_cb(esp_hidd_cb_event_t event, esp_hidd_cb_param_t *param)
|
|||
case ESP_HIDD_REGISTER_APP_EVT: {
|
||||
if (param->register_app.status == ESP_HIDD_SUCCESS) {
|
||||
ESP_LOGD(TAG, "Setting hid parameters success!");
|
||||
if (param->register_app.in_use && param->register_app.bd_addr != NULL) {
|
||||
if (param->register_app.in_use) {
|
||||
ESP_LOGI(TAG, "Start virtual cable plug!");
|
||||
esp_bt_hid_device_connect(param->register_app.bd_addr);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue