k60: add rt_interrupt_{enter,leave} in IRQHandler

This commit is contained in:
Grissiom 2013-10-25 20:32:48 +08:00
parent 07bd09fc0f
commit 400b96d2d9
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}