k60: add rt_interrupt_{enter,leave} in IRQHandler
This commit is contained in:
parent
07bd09fc0f
commit
400b96d2d9
|
@ -218,7 +218,9 @@ static const struct rt_uart_ops _k60_ops =
|
|||
|
||||
void UART5_RX_TX_IRQHandler(void)
|
||||
{
|
||||
rt_interrupt_enter();
|
||||
rt_hw_serial_isr((struct rt_serial_device*)&_k60_serial);
|
||||
rt_interrupt_leave();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue