提交 0120ba02 编写于 作者: O onelife.real

*** EFM32 branch ***

Fix a bug in USART driver

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1974 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 3c3353ee
......@@ -523,8 +523,8 @@ static rt_size_t rt_usart_read (
{
*(ptr++) = usart->usart_device->RXDATA & 0xff;
}
len--;
}
len--;
}
read_len = size - len;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册