rptun cmd: add broadcast rptun cmd

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd
2022-02-11 21:05:08 +08:00
committed by Xiang Xiao
parent e0e5652de4
commit 622784be89
2 changed files with 49 additions and 13 deletions

View File

@@ -470,8 +470,8 @@ static const struct cmdmap_s g_cmdmap[] =
#endif
#if defined(CONFIG_RPTUN) && !defined(CONFIG_NSH_DISABLE_RPTUN)
{ "rptun", cmd_rptun, 3, 4,
"start|stop|reset|panic|dump <dev-path> [value]" },
{ "rptun", cmd_rptun, 2, 4,
"start|stop|reset|panic|dump [dev-path] [value]" },
#endif
#ifndef CONFIG_NSH_DISABLE_SET