Skip to content

Commit bada92b

Browse files
authored
Comment usb_serial_jtag_ll_txfifo_flush() -> espressif#9378 (comment)
1 parent 9e611cf commit bada92b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/esp32/HWCDC.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ size_t HWCDC::write(const uint8_t *buffer, size_t size)
380380
to_send -= space;
381381
so_far += space;
382382
// Now trigger the ISR to read data from the ring buffer.
383-
usb_serial_jtag_ll_txfifo_flush();
383+
// usb_serial_jtag_ll_txfifo_flush();
384384
if(connected) usb_serial_jtag_ll_ena_intr_mask(USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY);
385385

386386
while(to_send){
@@ -396,7 +396,7 @@ size_t HWCDC::write(const uint8_t *buffer, size_t size)
396396
so_far += space;
397397
to_send -= space;
398398
// Now trigger the ISR to read data from the ring buffer.
399-
usb_serial_jtag_ll_txfifo_flush();
399+
// usb_serial_jtag_ll_txfifo_flush();
400400
if(connected) usb_serial_jtag_ll_ena_intr_mask(USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY);
401401
}
402402
}

0 commit comments

Comments
 (0)