Skip to content

Commit

Permalink
Fix dependents of nsh_foreach_direntry
Browse files Browse the repository at this point in the history
Signed-off-by: wangjianyu3 <[email protected]>
  • Loading branch information
JianyuWang0623 authored and xiaoxiang781216 committed Jul 29, 2023
1 parent c34bbb9 commit fc8c425
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions nshlib/nsh.h
Original file line number Diff line number Diff line change
Expand Up @@ -571,9 +571,14 @@
# undef NSH_HAVE_READFILE
#endif

/* nsh_foreach_direntry used by the ls and ps and fdinfo commands */
/* nsh_foreach_direntry used by the commands:
* ls, ps, fdinfo, rptun, pmconfig
*/

#if defined(CONFIG_NSH_DISABLE_LS) && defined(CONFIG_NSH_DISABLE_PS) && defined(CONFIG_NSH_DISABLE_FDINFO)
#if defined(CONFIG_NSH_DISABLE_LS) && defined(CONFIG_NSH_DISABLE_PS) && \
defined(CONFIG_NSH_DISABLE_FDINFO) && \
defined(CONFIG_NSH_DISABLE_RPTUN) && \
defined(CONFIG_NSH_DISABLE_PMCONFIG)
# undef NSH_HAVE_FOREACH_DIRENTRY
#endif

Expand Down

0 comments on commit fc8c425

Please sign in to comment.