mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-01 02:40:12 +08:00
[components][finsh] fix compile error when the symbol table feature closed
This commit is contained in:
1 parent
cc2316ed4e
commit
df07cccccc
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user