1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-13 23:33:48 +01:00

tweak comments

This commit is contained in:
J. Nick Koston
2025-10-11 06:25:44 -10:00
parent ec71669bff
commit fa69b74e6c

View File

@@ -429,6 +429,7 @@ static void transfer_callback(usb_transfer_t *xfer) {
} }
// Release transfer slot AFTER callback completes to prevent slot exhaustion // 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 callback has finished accessing xfer->data_buffer, so it's safe to release
// The release_trq() uses thread-safe atomic operations // The release_trq() uses thread-safe atomic operations
trq->client->release_trq(trq); trq->client->release_trq(trq);