diff options
author | Leo C | 2018-07-21 10:13:19 +0200 |
---|---|---|
committer | Leo C | 2018-07-21 10:13:19 +0200 |
commit | 1d390146e3186c0eb94df0a1da8618fc89480127 (patch) | |
tree | c7afb1b7f37eea7ea5b1318734a44d150cfd1db6 /include | |
parent | 78035a8db08025f8c0959b322d509d05e5559cbd (diff) | |
download | z180-stamp-1d390146e3186c0eb94df0a1da8618fc89480127.zip |
Move command line history from heap to a fixed-sized char array
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index b56b316..630e175 100644 --- a/include/config.h +++ b/include/config.h @@ -64,6 +64,7 @@ #define CONFIG_SYS_HIST_MAX 20 #define CONFIG_SYS_MAXARGS 20 #define CONFIG_SYS_ENV_NAMELEN 16 +#define CONFIG_SYS_HISTSIZE (CONFIG_SYS_CBSIZE*2) #define CONFIG_SYS_PROMPT "-> " #define CONFIG_SYS_PROMPT_REPEAT "=> " |