Skip to content

Commit ab157cf

Browse files
authored
Update cores/esp32/HWCDC.cpp
1 parent 576d675 commit ab157cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/HWCDC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ size_t HWCDC::write(const uint8_t *buffer, size_t size)
350350
space = size;
351351
}
352352
// Non-Blocking method, Sending data to ringbuffer, and handle the data in ISR.
353-
// USB may be plugged, but CDC may be not connected ==> do not block and flush TX buffer, keeping in the buffer just the lastest data
353+
// USB may be plugged, but CDC may be not connected ==> do not block and flush TX buffer, keeping just the lastest data buffered
354354
if(xRingbufferSend(tx_ring_buf, (void*) (buffer), space, 0) != pdTRUE){
355355
size = 0;
356356
} else {

0 commit comments

Comments
 (0)