From d3fc6c4563901a71e505b336893e4a1e551155f0 Mon Sep 17 00:00:00 2001 From: Arto Kinnunen Date: Tue, 18 Aug 2020 10:10:49 +0300 Subject: [PATCH] Revert max line length change Do not chnage default line length as it is a breaking chnage. Library configuration can be used to adjust max lien length. --- features/frameworks/mbed-client-cli/mbed_lib.json | 2 +- features/frameworks/mbed-client-cli/source/ns_cmdline.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/frameworks/mbed-client-cli/mbed_lib.json b/features/frameworks/mbed-client-cli/mbed_lib.json index 02539ab516..17cdcf7656 100644 --- a/features/frameworks/mbed-client-cli/mbed_lib.json +++ b/features/frameworks/mbed-client-cli/mbed_lib.json @@ -42,7 +42,7 @@ "value": null }, "max_line_length": { - "help": "maximum input line length. Defaults to 200 when not set", + "help": "maximum input line length. Defaults to 2000 when not set", "value": null }, "args_max_count": { diff --git a/features/frameworks/mbed-client-cli/source/ns_cmdline.c b/features/frameworks/mbed-client-cli/source/ns_cmdline.c index 396b5d70bf..7e113502b6 100644 --- a/features/frameworks/mbed-client-cli/source/ns_cmdline.c +++ b/features/frameworks/mbed-client-cli/source/ns_cmdline.c @@ -215,7 +215,7 @@ #endif // Maximum length of input line #ifndef MBED_CONF_CMDLINE_MAX_LINE_LENGTH -#define MBED_CONF_CMDLINE_MAX_LINE_LENGTH 200 +#define MBED_CONF_CMDLINE_MAX_LINE_LENGTH 2000 #endif // Maximum number of arguments in a single command #ifndef MBED_CONF_CMDLINE_ARGS_MAX_COUNT