Skip to content

Commit

Permalink
[Telink] reverted to using default shell commands set
Browse files Browse the repository at this point in the history
  • Loading branch information
interfer committed Nov 30, 2022
1 parent a16715f commit 80d1dde
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions examples/lighting-app/telink/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,6 @@

#include <algorithm>

#ifdef CONFIG_CHIP_LIB_SHELL
#include <zephyr/shell/shell.h>

static int cmd_telink_factoryreset(const struct shell * shell, size_t argc, char ** argv)
{
ARG_UNUSED(argc);
ARG_UNUSED(argv);

shell_print(shell, "Performing factoryreset ...");
chip::Server::GetInstance().ScheduleFactoryReset();
return 0;
}

SHELL_STATIC_SUBCMD_SET_CREATE(sub_demo, SHELL_CMD(factoryreset, NULL, "Reset NVS partition command.", cmd_telink_factoryreset),
SHELL_SUBCMD_SET_END);
SHELL_CMD_REGISTER(matter, &sub_demo, "Telink Matter commands", NULL);
#endif

LOG_MODULE_DECLARE(app);

using namespace ::chip;
Expand Down

0 comments on commit 80d1dde

Please sign in to comment.