From 0ce025519420b4ece68935c2d3e5ccde1ba87223 Mon Sep 17 00:00:00 2001 From: Letter Date: Thu, 27 Jun 2024 21:33:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E5=99=A8=E5=91=BD=E4=BB=A4=E7=BB=84=E5=A3=B0?= =?UTF-8?q?=E6=98=8E=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extensions/shell_enhance/shell_cmd_group.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/shell_enhance/shell_cmd_group.h b/extensions/shell_enhance/shell_cmd_group.h index 86e9adc..0107bb1 100644 --- a/extensions/shell_enhance/shell_cmd_group.h +++ b/extensions/shell_enhance/shell_cmd_group.h @@ -78,6 +78,6 @@ * * @note 需要添加在每个命令数组的最后一条 */ -#define SHELL_CMD_GROUP_END() {0} +#define SHELL_CMD_GROUP_END() {.data.cmd.name = NULL} int shellCmdGroupRun(ShellCommand *group, int argc, char *argv[]);