Skip to content

Commit 35e035b

Browse files
authored
Merge pull request #3191 from Lawlieta/develop
[components][finsh] fix compile error when the symbol table feature closed
2 parents cc2316e + df07ccc commit 35e035b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/finsh/cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ long list(void)
887887
/* skip the internal command */
888888
if (strncmp((char *)index->name, "__", 2) == 0) continue;
889889

890-
#ifdef FINSH_USING_DESCRIPTION
890+
#if defined(FINSH_USING_DESCRIPTION) && defined(FINSH_USING_SYMTAB)
891891
rt_kprintf("%-16s -- %s\n", index->name, index->desc);
892892
#else
893893
rt_kprintf("%s\n", index->name);

0 commit comments

Comments
 (0)