summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorreynoldxu <[email protected]>2013-07-25 10:18:33 +0800
committerreynoldxu <[email protected]>2013-07-25 10:18:33 +0800
commit10c75c3dc6d5d0e1653384a9cf94f74fe1549900 (patch)
treecad1535bc7e4422bbbe647edca1d114983b69867 /components/drivers
parent151ce31be8c6d8c1e90b0b332c07beb232f32d45 (diff)
remove a var for INT_TX.
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/serial/serial.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/serial/serial.c b/components/drivers/serial/serial.c
index bcc9f431d9..c7b8e79b2b 100644
--- a/components/drivers/serial/serial.c
+++ b/components/drivers/serial/serial.c
@@ -146,9 +146,12 @@ static rt_err_t rt_serial_init(struct rt_device *dev)
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)