Merged from external project:
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 10 Nov 2008 14:44:48 +0000 (14:44 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 10 Nov 2008 14:44:48 +0000 (14:44 +0000)
**********
r22607 | batt | 2008-11-08 12:51:04 +0100 (sab, 08 nov 2008) | 1 line

Reduce commands history lenght.
**********

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1916 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/mware/readline.h

index 9219bfd7945e6931d8ea498edaaf19534a41953f..ab2af7c391c625bd2a74968858e26fc125f37a54 100644 (file)
@@ -53,7 +53,7 @@
 
 #include <string.h>
 
-#define HISTORY_SIZE       1024
+#define HISTORY_SIZE 32
 
 typedef int (*getc_hook)(void* user_data);
 typedef void (*putc_hook)(char ch, void* user_data);