From 668a51b6bfaa6816c5a3e88f26087253a1f52eae Mon Sep 17 00:00:00 2001 From: cfif Date: Tue, 9 Dec 2025 17:27:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CommandLines.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CommandLines.c b/CommandLines.c index 26bd7ad..c49472f 100644 --- a/CommandLines.c +++ b/CommandLines.c @@ -16,7 +16,7 @@ int32_t CliCmd_baseCommandHelp(void *env, tCliCmd *cli) { CliCmd_PrintLnStatic(cli, "Commands:"); CliCmd_PrintLnStatic(cli, ""); CliCmd_PrintLnStatic(cli, "reboot - Restarting the device"); - CliCmd_PrintLnStatic(cli, "mem - Task Information"); + CliCmd_PrintLnStatic(cli, "mem - Memory Information"); CliCmd_PrintLnStatic(cli, "================================================"); return 0; @@ -37,8 +37,8 @@ void CommandLine_Init(tCommandLine *env, tSerialPortIO *cliVirtualPortIn_Io, tSe CliRedirectionTable_InitStatic(&env->redirectTable, env->mem.commandPrefixes); CliRedirectionTable_RecAddStatic(&env->redirectTable, "help", (cliCall) CliCmd_baseCommandHelp, NULL); - CliRedirectionTable_RecAddStatic(&env->redirectTable, "reboot", (cliCall) CliCmd_baseCommandReboot, NULL); CliRedirectionTable_RecAddStatic(&env->redirectTable, "mem", (cliCall) vTaskGetRunTime, NULL); + CliRedirectionTable_RecAddStatic(&env->redirectTable, "reboot", (cliCall) CliCmd_baseCommandReboot, NULL); InitThreadAtrStatic(&env->thread.attr, "CommandLine", env->thread.controlBlock, env->thread.stack, osPriorityNormal); @@ -59,7 +59,7 @@ void ListenCLICommand(tCommandLine *env) { static _Noreturn void CommandLine_Thread(tCommandLine *env) { for (;;) { ListenCLICommand(env); - SystemDelayMs(10); + SystemDelayMs(1000); } }