diff options
Diffstat (limited to 'common/main.c')
-rw-r--r-- | common/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/main.c b/common/main.c index 026edd1..9c2f97c 100644 --- a/common/main.c +++ b/common/main.c @@ -526,7 +526,11 @@ void reset_cmd_timeout(void) #define CTL_CH(c) ((c) - 'a' + 1) +#if defined(CONFIG_SYS_CBSIZE) +#define MAX_CMDBUF_SIZE CONFIG_SYS_CBSIZE +#else #define MAX_CMDBUF_SIZE 256 +#endif #define CTL_BACKSPACE ('\b') #define DEL ((char)255) |