From 2dd7af0b65ce7bd8cc83385b504e93597b001d86 Mon Sep 17 00:00:00 2001 From: WanqQixiang Date: Fri, 7 Jan 2022 17:31:04 +0800 Subject: [PATCH] Bugfix: Add chip shell engine initializing for esp32 platform --- examples/platform/esp32/shell_extension/launch.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/platform/esp32/shell_extension/launch.cpp b/examples/platform/esp32/shell_extension/launch.cpp index 59bd147b7d07cd..48707739ef0d51 100644 --- a/examples/platform/esp32/shell_extension/launch.cpp +++ b/examples/platform/esp32/shell_extension/launch.cpp @@ -37,6 +37,7 @@ namespace chip { void LaunchShell() { + chip::Shell::Engine::Root().Init(); #if CONFIG_HEAP_TRACING_STANDALONE || CONFIG_HEAP_TASK_TRACKING idf::chip::RegisterHeapTraceCommands(); #endif // CONFIG_HEAP_TRACING_STANDALONE || CONFIG_HEAP_TASK_TRACKING