From 2bc4bdadee97ab148198c80c44271db89c213590 Mon Sep 17 00:00:00 2001 From: yangsong8 Date: Wed, 11 Jun 2025 11:41:27 +0800 Subject: [PATCH] apps/nsh: fix switchboot command spelling error modify swtichboot -> switchboot Signed-off-by: yangsong8 --- nshlib/nsh_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nshlib/nsh_command.c b/nshlib/nsh_command.c index 3911e0844..3275756b3 100644 --- a/nshlib/nsh_command.c +++ b/nshlib/nsh_command.c @@ -580,7 +580,7 @@ static const struct cmdmap_s g_cmdmap[] = #endif #if defined(CONFIG_BOARDCTL_SWITCH_BOOT) && !defined(CONFIG_NSH_DISABLE_SWITCHBOOT) - CMD_MAP("swtichboot", cmd_switchboot, 2, 2, ""), + CMD_MAP("switchboot", cmd_switchboot, 2, 2, ""), #endif #if !defined(CONFIG_NSH_DISABLESCRIPT) && !defined(CONFIG_NSH_DISABLE_TEST)