From 6bc8fbe97939329ee702aaa928fd002aded60d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BD=D0=B8=D0=BB=D0=B0=20=D0=93=D0=BE=D1=80?= =?UTF-8?q?=D0=BD=D1=83=D1=88=D0=BA=D0=BE?= Date: Wed, 29 Nov 2023 15:34:23 +0300 Subject: [PATCH] fix smartfilter hint --- main/cmd_can.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/cmd_can.c b/main/cmd_can.c index d7428a6..38e0232 100644 --- a/main/cmd_can.c +++ b/main/cmd_can.c @@ -497,7 +497,7 @@ invalid_args: static void register_cansmartfilter(void) { - cansmart_args.filters = arg_strn(NULL, NULL, " ...", 1, CONFIG_CAN_MAX_SMARTFILTERS_NUM, "Filters, in hex format. Each one contains mask and code in format code#mask. Both mask and code are uint32_t numbers in hex format. Example: 0000FF00#0000FFFF"); + cansmart_args.filters = arg_strn(NULL, NULL, "", 1, CONFIG_CAN_MAX_SMARTFILTERS_NUM, "Filters, each one contains mask and code in format code#mask. Both mask and code are uint32_t numbers in hex format. Example: 0000FF00#0000FFFF"); cansmart_args.end = arg_end(2); const esp_console_cmd_t cmd = {