summaryrefslogtreecommitdiff
path: root/components/finsh/shell.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-09-21 07:54:54 +0800
committerGitHub <[email protected]>2019-09-21 07:54:54 +0800
commit4d63839024d66f77dea566948020e8f8733bcfdf (patch)
treeaed816e3da12325cf573dab1ca0b0fd0cb0244bb /components/finsh/shell.h
parent3ada5c81d56ec4887b1e5a2745ad52396077c490 (diff)
parentdfd9fa4d9d2497bed8ec2547ddc87c0794275ebd (diff)
Merge pull request #3092 from liu2guang/finsh_update_dev
[修复] 修复msh无法配置超过256字节的长度输入 | Fixed MSH unable to configure input leng…
Diffstat (limited to 'components/finsh/shell.h')
-rw-r--r--components/finsh/shell.h4
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;