From 80d1dde95456659a53c1f824669bc24c9eed908e Mon Sep 17 00:00:00 2001 From: Dmytro Huz Date: Wed, 30 Nov 2022 17:22:11 +0200 Subject: [PATCH] [Telink] reverted to using default shell commands set --- examples/lighting-app/telink/src/AppTask.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/examples/lighting-app/telink/src/AppTask.cpp b/examples/lighting-app/telink/src/AppTask.cpp index cc0c7227dc1620..a310bdb1907560 100644 --- a/examples/lighting-app/telink/src/AppTask.cpp +++ b/examples/lighting-app/telink/src/AppTask.cpp @@ -48,24 +48,6 @@ #include -#ifdef CONFIG_CHIP_LIB_SHELL -#include - -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;