From df30f84f334d399cc734fda47591d4d5890a6aeb Mon Sep 17 00:00:00 2001 From: wangchengdong Date: Mon, 19 Jan 2026 13:23:50 +0800 Subject: [PATCH] ostest/hrtimer: sync hrtimer test with latest updates Synchronize the hrtimer ostest with the latest hrtimer changes. Signed-off-by: Chengdong Wang --- testing/ostest/hrtimer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/ostest/hrtimer.c b/testing/ostest/hrtimer.c index fcbe1f5d9..3943140e6 100644 --- a/testing/ostest/hrtimer.c +++ b/testing/ostest/hrtimer.c @@ -211,11 +211,12 @@ void hrtimer_test(void) /* Initialize the high-resolution timer */ - hrtimer_init(&hrtimer_test.timer, test_hrtimer_callback); + hrtimer_init(&hrtimer_test.timer); /* Start the timer with 500ms relative timeout */ ret = hrtimer_start(&hrtimer_test.timer, + test_hrtimer_callback, hrtimer_test.period, HRTIMER_MODE_REL);