Skip to content

Commit 5000939

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

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
@@ -372,7 +372,7 @@ size_t HWCDC::write(const uint8_t *buffer, size_t size)
372372
so_far += max_size;
373373
to_send -= max_size;
374374
// Now trigger the ISR to read data from the ring buffer.
375-
usb_serial_jtag_ll_txfifo_flush(); // flushes HW Serial CDC and sets IN_EMPTY when Host reads data
375+
usb_serial_jtag_ll_txfifo_flush();
376376
if(isConnected) usb_serial_jtag_ll_ena_intr_mask(USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY);
377377
}
378378
}

0 commit comments

Comments
 (0)