1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

lock free

This commit is contained in:
J. Nick Koston
2025-09-23 22:37:02 -05:00
parent 9f2f33fc89
commit 5f17a95f2e

View File

@@ -79,11 +79,8 @@ struct UsbDataChunk {
uint8_t length; // Max 64 bytes, so uint8_t is sufficient
USBUartChannel *channel;
// Required for EventPool - reset to clean state
void release() {
this->length = 0;
this->channel = nullptr;
}
// Required for EventPool - no cleanup needed for POD types
void release() {}
};
class USBUartChannel : public uart::UARTComponent, public Parented<USBUartComponent> {