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:
fengzi.rtt 2010-01-05 05:03:37 +00:00
parent 329c44a03f
commit 6b77e031db
1 changed files with 20 additions and 20 deletions

View File

@ -59,7 +59,7 @@ void rt_hw_uart_isr(struct rt_lm3s_serial* serial)
rt_uint32_t status; rt_uint32_t status;
device = (struct rt_device*)serial; device = (struct rt_device*)serial;
UARTIntStatus(serial->hw_base, true); status = UARTIntStatus(serial->hw_base, true);
/* clear interrupt status */ /* clear interrupt status */
UARTIntClear(serial->hw_base, status); UARTIntClear(serial->hw_base, status);