diff --git a/examples/platform/ameba/shell/launch_shell.cpp b/examples/platform/ameba/shell/launch_shell.cpp index 435966b27e89fa..40a0517b7e2b66 100644 --- a/examples/platform/ameba/shell/launch_shell.cpp +++ b/examples/platform/ameba/shell/launch_shell.cpp @@ -27,7 +27,9 @@ namespace { void MatterShellTask(void * args) { + const TickType_t xDelay = 1000 / portTICK_PERIOD_MS; chip::Shell::Engine::Root().RunMainLoop(); + vTaskDelay(xDelay); } } // namespace