fix UART ISR function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@286 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
329c44a03f
commit
6b77e031db
|
@ -59,7 +59,7 @@ void rt_hw_uart_isr(struct rt_lm3s_serial* serial)
|
|||
rt_uint32_t status;
|
||||
|
||||
device = (struct rt_device*)serial;
|
||||
UARTIntStatus(serial->hw_base, true);
|
||||
status = UARTIntStatus(serial->hw_base, true);
|
||||
|
||||
/* clear interrupt status */
|
||||
UARTIntClear(serial->hw_base, status);
|
||||
|
|
Loading…
Reference in New Issue