summaryrefslogtreecommitdiff
path: root/components/finsh
diff options
context:
space:
mode:
author流光 <[email protected]>2019-09-20 14:48:01 +0800
committer流光 <[email protected]>2019-09-20 14:48:01 +0800
commitdfd9fa4d9d2497bed8ec2547ddc87c0794275ebd (patch)
treeabc9505c589d10abab757196668af6be0b87d2a6 /components/finsh
parent200f3d4480a7de9165c6eb3ad36ffecb7d12d60a (diff)
[修复] 修复msh无法配置超过256字节的长度输入 | Fixed MSH unable to configure input length exceeding 256 bytes
Diffstat (limited to 'components/finsh')
-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;