This is an automated email from the ASF dual-hosted git repository.
archer 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 fb4f80665 ostest/hrtimer: Fix typos
fb4f80665 is described below
commit fb4f80665d040bc526859cbae05e7a40ee9504a8
Author: wangchengdong <[email protected]>
AuthorDate: Thu Dec 25 12:56:27 2025 +0800
ostest/hrtimer: Fix typos
The current code incorrectly used the CONFIG_SCHED_EVENTS
macro in ostest.h for hrtimer_test(). This has been corrected to use
CONFIG_HRTIMER.
Signed-off-by: Chengdong Wang [email protected]
---
testing/ostest/ostest.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/ostest/ostest.h b/testing/ostest/ostest.h
index 30f16da5d..321ecd2d3 100644
--- a/testing/ostest/ostest.h
+++ b/testing/ostest/ostest.h
@@ -304,7 +304,7 @@ int sem_nfreeholders(void);
void nxevent_test(void);
#endif
-#if defined(CONFIG_SCHED_EVENTS) && defined(CONFIG_BUILD_FLAT)
+#if defined(CONFIG_HRTIMER) && defined(CONFIG_BUILD_FLAT)
void hrtimer_test(void);
#endif