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);