Merge pull request #3092 from liu2guang/finsh_update_dev

[修复] 修复msh无法配置超过256字节的长度输入 | Fixed MSH unable to configure input leng…
This commit is contained in:
Bernard Xiong 2019-09-21 07:54:54 +08:00 committed by GitHub
commit 4d63839024
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,8 +79,8 @@ struct finsh_shell
#endif
char line[FINSH_CMD_SIZE];
rt_uint8_t line_position;
rt_uint8_t line_curpos;
rt_uint16_t line_position;
rt_uint16_t line_curpos;
#ifndef RT_USING_POSIX
rt_device_t device;