1.msh优化,解析参数API修改。

This commit is contained in:
MacRsh
2024-01-01 17:10:31 +08:00
parent 15b8e96dd5
commit 9e32d2f87c
2 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
* @date 2023-12-25 MacRsh First version
*/
#include "include/components/msh.h"
#include "include/components/mr_msh.h"
#ifdef MR_USING_MSH
@@ -258,7 +258,7 @@ static void msh_key_table(void)
}
/* Complete the command */
for (size_t i = msh.cursor; i < strnlen(msh_comp->name, MR_CFG_MSH_NAME_MAX); ++i)
for (size_t i = msh.cursor; i < strnlen(msh_comp->name, MR_CFG_MSH_NAME_MAX); i++)
{
msh_insert_char(msh_comp->name[i]);
}