mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
cpu/esp32/stdio_usb_serial_jtag: clear all usb serial jtag flags and flush the tx fifo at the end of usb serial isrs
This commit is contained in:
parent
02e059546f
commit
a21d302d08
@ -73,11 +73,11 @@ static void _serial_intr_handler(void *arg)
|
|||||||
}
|
}
|
||||||
USB_SERIAL_JTAG.ep1.rdwr_byte = c;
|
USB_SERIAL_JTAG.ep1.rdwr_byte = c;
|
||||||
}
|
}
|
||||||
usb_serial_jtag_ll_txfifo_flush();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* clear all interrupt flags */
|
/* 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();
|
irq_isr_exit();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user