apps: add rptun reset /dev/rptun/xx cmd

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd
2021-12-24 17:18:56 +08:00
committed by Xiang Xiao
parent c57677c3ce
commit d5aae96523
2 changed files with 12 additions and 2 deletions

View File

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