diff options
| author | Bernard Xiong <[email protected]> | 2019-09-21 07:54:54 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-09-21 07:54:54 +0800 |
| commit | 4d63839024d66f77dea566948020e8f8733bcfdf (patch) | |
| tree | aed816e3da12325cf573dab1ca0b0fd0cb0244bb /components | |
| parent | 3ada5c81d56ec4887b1e5a2745ad52396077c490 (diff) | |
| parent | dfd9fa4d9d2497bed8ec2547ddc87c0794275ebd (diff) | |
Merge pull request #3092 from liu2guang/finsh_update_dev
[修复] 修复msh无法配置超过256字节的长度输入 | Fixed MSH unable to configure input leng…
Diffstat (limited to 'components')
| -rw-r--r-- | components/finsh/shell.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/finsh/shell.h b/components/finsh/shell.h index 2cf2c9b833..fd33cb7ccb 100644 --- a/components/finsh/shell.h +++ b/components/finsh/shell.h @@ -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; |
