Skip to content

Commit

Permalink
nsh: rename CONFIG_SCHED_CPULOAD to CONFIG_SCHED_CPULOAD_NONE
Browse files Browse the repository at this point in the history
Explicitly select dependencies to avoid automatically selecting inappropriate configurations.

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
  • Loading branch information
Gary-Hobson authored and xiaoxiang781216 committed Nov 1, 2023
1 parent b8c35f6 commit 647db63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nshlib/nsh.h
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@

#define NSH_HAVE_CPULOAD 1
#if !defined(CONFIG_FS_PROCFS) || defined(CONFIG_FS_PROCFS_EXCLUDE_CPULOAD) || \
!defined(CONFIG_SCHED_CPULOAD) || defined(CONFIG_NSH_DISABLE_PS)
defined(CONFIG_SCHED_CPULOAD_NONE) || defined(CONFIG_NSH_DISABLE_PS)
# undef NSH_HAVE_CPULOAD
#endif

Expand Down

0 comments on commit 647db63

Please sign in to comment.