未验证 提交 4021b821 编写于 作者: L linshire 提交者: GitHub

[bsp][ch32] fix the empty function ch32dma_transmit return error code as -RT_EIO

上级 3a08336c
......@@ -345,7 +345,7 @@ static int ch32_getc(struct rt_serial_device *serial)
static rt_ssize_t ch32dma_transmit(struct rt_serial_device *serial, rt_uint8_t *buf, rt_size_t size, int direction)
{
return RT_EOK;
return -RT_EIO;
}
static void uart_isr(struct rt_serial_device *serial)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册