diff options
author | John Schmoller <jschmoller@xes-inc.com> | 2010-03-12 09:49:24 -0600 |
---|---|---|
committer | Michael BRANDT <michael.brandt@stericsson.com> | 2010-10-21 14:25:28 +0200 |
commit | 988888dfb9e7fd873567dd24e2b2c7a5394ceb3d (patch) | |
tree | 1d95fc259f5effe4d245d99986998286d138a78a /common | |
parent | e84ef91c54b862169601a7b4a2d02be78d0ad002 (diff) |
cmd history: Match history buffer size to console buffer
Match history buffer size to console buffer size. History buffer size
was hard coded to 256, artificially limiting the command buffer size.
The history buffer now tracks CONFIG_SYS_CBSIZE.
Signed-off-by: John Schmoller <jschmoller@xes-inc.com>
Change-Id: I3001f40c7637fe4ed16b7ac7e05524d8905d66e5
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/6816
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
Tested-by: Michael BRANDT <michael.brandt@stericsson.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/main.c b/common/main.c index fd0ab007a..1f559c140 100644 --- a/common/main.c +++ b/common/main.c @@ -529,7 +529,7 @@ void reset_cmd_timeout(void) #define CTL_CH(c) ((c) - 'a' + 1) -#define MAX_CMDBUF_SIZE 256 +#define MAX_CMDBUF_SIZE CONFIG_SYS_CBSIZE #define CTL_BACKSPACE ('\b') #define DEL ((char)255) |