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.git
The following commit(s) were added to refs/heads/master by this push: new 6a6538c1b8 clock.h: use CONFIG_DEBUG_SCHED to test init ticks 6a6538c1b8 is described below commit 6a6538c1b817dc4b684c08d58b04562efd49c7e1 Author: zhanghu5 <zhang...@xiaomi.com> AuthorDate: Mon Nov 20 20:29:22 2023 +0800 clock.h: use CONFIG_DEBUG_SCHED to test init ticks Signed-off-by: zhanghu5 <zhang...@xiaomi.com> --- include/nuttx/clock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nuttx/clock.h b/include/nuttx/clock.h index 655210a530..76ed107912 100644 --- a/include/nuttx/clock.h +++ b/include/nuttx/clock.h @@ -205,7 +205,7 @@ #define TICK2HSEC(tick) (((tick) + (TICK_PER_HSEC / 2)) / TICK_PER_HSEC) #define TICK2SEC(tick) (((tick) + (TICK_PER_SEC / 2)) / TICK_PER_SEC) -#if defined(CONFIG_DEBUG_FEATURES) && defined(CONFIG_SYSTEM_TIME64) && \ +#if defined(CONFIG_DEBUG_SCHED) && defined(CONFIG_SYSTEM_TIME64) && \ !defined(CONFIG_SCHED_TICKLESS) /* Initial system timer ticks value close to maximum 32-bit value, to test * 64-bit system-timer after going over 32-bit value. This is to make errors