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 wangchengdong@lixiang.com
This commit is contained in:
wangchengdong 2025-12-25 12:56:27 +08:00 committed by archer
parent 09ddb06c9d
commit fb4f80665d

View file

@ -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