This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 647db6393 nsh: rename CONFIG_SCHED_CPULOAD to CONFIG_SCHED_CPULOAD_NONE
647db6393 is described below
commit 647db6393d59dbeab3c12ab5d692585fa608148e
Author: yinshengkai <[email protected]>
AuthorDate: Tue Oct 31 11:38:23 2023 +0800
nsh: rename CONFIG_SCHED_CPULOAD to CONFIG_SCHED_CPULOAD_NONE
Explicitly select dependencies to avoid automatically selecting
inappropriate configurations.
Signed-off-by: yinshengkai <[email protected]>
---
nshlib/nsh.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nshlib/nsh.h b/nshlib/nsh.h
index a198e6c87..ec5262b30 100644
--- a/nshlib/nsh.h
+++ b/nshlib/nsh.h
@@ -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