NSH: Correct an error in conditional compilation

This commit is contained in:
Stefan Kolb 2016-01-13 06:53:33 -06:00 committed by Gregory Nutt
parent c13b9e6a51
commit 3b820bbc78

View File

@ -639,7 +639,7 @@
#endif
#define NSH_HAVE_CPULOAD 1
#if !defined(CONFIG_FS_PROCFS) || !defined(CONFIG_FS_PROCFS_EXCLUDE_CPULOAD) || \
#if !defined(CONFIG_FS_PROCFS) || defined(CONFIG_FS_PROCFS_EXCLUDE_CPULOAD) || \
!defined(CONFIG_SCHED_CPULOAD) || defined(CONFIG_NSH_DISABLE_PS)
# undef NSH_HAVE_CPULOAD
#endif