ostest/hrtimer: sync hrtimer ostest with latest hritmer update

sync hrtimer ostest with latest hritmer update

Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
This commit is contained in:
wangchengdong 2026-01-27 11:21:06 +08:00 committed by Donny(董九柱)
parent 71561d2979
commit ebe2dd57dd

View file

@ -223,7 +223,7 @@ static void * hrtimer_test_thread(void *arg)
/* Cancel timer */
ret = hrtimer_cancel(&timer);
HRTIMER_TEST(ret, OK);
HRTIMER_TEST(ret >= 0, true);
/* Start timer with fixed period */
@ -241,7 +241,7 @@ static void * hrtimer_test_thread(void *arg)
/* Cancel the timer synchronously */
ret = hrtimer_cancel_sync(&timer);
HRTIMER_TEST(ret, OK);
HRTIMER_TEST(ret >= 0, true);
return NULL;
}