1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #20972 from IsikcanYilmaz/pr/esp32_usb_serial_jtag_isr_flag_reset

cpu/esp32/stdio_usb_serial_jtag: Fix to ESP32 stdio usb serial hanging if it receives data too quickly
This commit is contained in:
mguetschow 2024-11-12 08:45:34 +00:00 committed by GitHub
commit ec9afd28eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,11 +73,11 @@ static void _serial_intr_handler(void *arg)
}
USB_SERIAL_JTAG.ep1.rdwr_byte = c;
}
usb_serial_jtag_ll_txfifo_flush();
}
/* clear all interrupt flags */
usb_serial_jtag_ll_clr_intsts_mask(mask);
usb_serial_jtag_ll_clr_intsts_mask(USB_SERIAL_JTAG_LL_INTR_MASK);
usb_serial_jtag_ll_txfifo_flush();
irq_isr_exit();
}