提交 063a2eb5 编写于 作者: B Bernard Xiong

Merge pull request #523 from aozima/pulls

fixed rt_can_close issues.
......@@ -433,7 +433,7 @@ static rt_err_t rt_can_close(struct rt_device *dev)
{
struct rt_can_tx_fifo *tx_fifo;
tx_fifo = (struct rt_can_tx_fifo *)can->can_rx;
tx_fifo = (struct rt_can_tx_fifo *)can->can_tx;
RT_ASSERT(tx_fifo != RT_NULL);
rt_free(tx_fifo);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册