Skip to content

Commit 5d2cb69

Browse files
authored
Update cores/esp32/HWCDC.cpp
1 parent ab157cf commit 5d2cb69

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
@@ -357,7 +357,7 @@ size_t HWCDC::write(const uint8_t *buffer, size_t size)
357357
to_send -= space;
358358
so_far += space;
359359
// Now trigger the ISR to read data from the ring buffer.
360-
usb_serial_jtag_ll_txfifo_flush(); // flushes HW Serial CDC and sets IN_EMPTY when Host reads data
360+
usb_serial_jtag_ll_txfifo_flush();
361361
if(isConnected) usb_serial_jtag_ll_ena_intr_mask(USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY);
362362

363363
while(to_send){

0 commit comments

Comments
 (0)