提交 3fa6d290 编写于 作者: B Bernard Xiong

Merge pull request #323 from weety/finsh_shell

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