From fa69b74e6c10e4fb0bfbd67c11cdca7ef1bd2d18 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 11 Oct 2025 06:25:44 -1000 Subject: [PATCH] tweak comments --- esphome/components/usb_host/usb_host_client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/components/usb_host/usb_host_client.cpp b/esphome/components/usb_host/usb_host_client.cpp index 91d7af2898..2139ed869a 100644 --- a/esphome/components/usb_host/usb_host_client.cpp +++ b/esphome/components/usb_host/usb_host_client.cpp @@ -429,6 +429,7 @@ static void transfer_callback(usb_transfer_t *xfer) { } // Release transfer slot AFTER callback completes to prevent slot exhaustion + // This is critical for high-throughput transfers (e.g., USB UART at 115200 baud) // The callback has finished accessing xfer->data_buffer, so it's safe to release // The release_trq() uses thread-safe atomic operations trq->client->release_trq(trq);