未验证 提交 9d59b30c 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #1204 from TanekLiang/i.mx_rt_1052

[bsp] fix uart driver bug
......@@ -230,10 +230,10 @@ static rt_err_t imxrt_configure(struct rt_serial_device *serial, struct serial_c
switch (cfg->stop_bits)
{
case STOP_BITS_2:
config.stopBitCount = kLPUART_OneStopBit;
config.stopBitCount = kLPUART_TwoStopBit;
break;
default:
config.stopBitCount = kLPUART_TwoStopBit;
config.stopBitCount = kLPUART_OneStopBit;
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册