Home
last modified time | relevance | path

Searched refs:current_device (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/examples/peripherals/usb/host/cdc/common/cdc_acm_host/
Dcdc_acm_host.c365 usb_device_handle_t current_device; in cdc_acm_find_and_open_usb_device() local
367 …host_device_open(p_cdc_acm_obj->cdc_acm_client_hdl, dev_addr_list[i], &current_device) != ESP_OK) { in cdc_acm_find_and_open_usb_device()
370 assert(current_device); in cdc_acm_find_and_open_usb_device()
372 ESP_ERROR_CHECK(usb_host_get_device_descriptor(current_device, &device_desc)); in cdc_acm_find_and_open_usb_device()
375 (*dev)->dev_hdl = current_device; in cdc_acm_find_and_open_usb_device()
378 usb_host_device_close(p_cdc_acm_obj->cdc_acm_client_hdl, current_device); in cdc_acm_find_and_open_usb_device()