[update] fix finsh_getchar() 未对 shell->device 为空处理的问题
[update] fix finsh_getchar() 未对 shell->device 为空处理的问题

RT-Thread/rt-thread,geniusgogo/rt-thread,geniusgogo/rt-thread,geniusgogo/rt-thread,hezlog/rt-thread,nongxiaoming/rt-thread,RT-Thread/rt-thread,RT-Thread/rt-thread,geniusgogo/rt-thread,hezlog/rt-thread,hezlog/rt-thread,RT-Thread/rt-thread,RT-Thread/rt-thread,hezlog/rt-thread,RT-Thread/rt-thread,hezlog/rt-thread,geniusgogo/rt-thread,hezlog/rt-thread,nongxiaoming/rt-thread,nongxiaoming/rt-thread,RT-Thread/rt-thread,nongxiaoming/rt-thread,geniusgogo/rt-thread,hezlog/rt-thread,nongxiaoming/rt-thread,geniusgogo/rt-thread,nongxiaoming/rt-thread,nongxiaoming/rt-thread