diff --git a/bsp/K60Fxxxx/drivers/drv_uart.c b/bsp/K60Fxxxx/drivers/drv_uart.c index 2ce8b0f9a..5452ccb8c 100644 --- a/bsp/K60Fxxxx/drivers/drv_uart.c +++ b/bsp/K60Fxxxx/drivers/drv_uart.c @@ -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(); }