未验证 提交 35e035b8 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3191 from Lawlieta/develop

[components][finsh] fix compile error when the symbol table feature closed
......@@ -887,7 +887,7 @@ long list(void)
/* skip the internal command */
if (strncmp((char *)index->name, "__", 2) == 0) continue;
#ifdef FINSH_USING_DESCRIPTION
#if defined(FINSH_USING_DESCRIPTION) && defined(FINSH_USING_SYMTAB)
rt_kprintf("%-16s -- %s\n", index->name, index->desc);
#else
rt_kprintf("%s\n", index->name);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册