提交 12136cfe 编写于 作者: W weety

[finsh] fixed finsh issue.

上级 d0a78615
......@@ -118,7 +118,7 @@ void finsh_set_device(const char* device_name)
{
/* close old finsh device */
rt_device_close(shell->device);
rt_device_set_rx_indicate(dev, RT_NULL);
rt_device_set_rx_indicate(shell->device, RT_NULL);
}
shell->device = dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册