Merge pull request #135 from reynoldxu/K60Fxxxx

K60 fxxxx
This commit is contained in:
Bernard Xiong
2013-07-25 03:55:52 -07:00
2 changed files with 56 additions and 13 deletions
+7
View File
@@ -145,7 +145,14 @@ static rt_err_t rt_serial_init(struct rt_device *dev)
serial_ringbuffer_init(serial->int_rx);
if (dev->flag & RT_DEVICE_FLAG_INT_TX)
{
/* not supported yet */
/*
serial->ops->control(serial, RT_DEVICE_CTRL_SET_INT, (void *)RT_NULL);
serial_ringbuffer_init(serial->int_tx);
serial->int_sending_flag = RT_FALSE;
*/
}
if (dev->flag & RT_DEVICE_FLAG_DMA_TX)
{