summaryrefslogtreecommitdiff
path: root/components/finsh/shell.h
diff options
context:
space:
mode:
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;