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:
commit
ec9afd28eb
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user