mirror of
https://github.com/esphome/esphome.git
synced 2025-09-27 15:42:22 +01:00
Update esphome/components/usb_host/usb_host_client.cpp
This commit is contained in:
@@ -447,7 +447,6 @@ void USBClient::transfer_in(uint8_t ep_address, const transfer_cb_t &callback, u
|
||||
trq->transfer->callback = transfer_callback;
|
||||
trq->transfer->bEndpointAddress = ep_address | USB_DIR_IN;
|
||||
trq->transfer->num_bytes = length;
|
||||
|
||||
auto err = usb_host_transfer_submit(trq->transfer);
|
||||
if (err != ESP_OK) {
|
||||
ESP_LOGE(TAG, "Failed to submit transfer, address=%x, length=%d, err=%x", ep_address, length, err);
|
||||
|
Reference in New Issue
Block a user