This is an automated email from the ASF dual-hosted git repository.

jiuzhudong 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 ebe2dd57d ostest/hrtimer: sync hrtimer ostest with latest hritmer 
update
ebe2dd57d is described below

commit ebe2dd57ddef45ac7c3d2db037fa4e5a5d5f26cd
Author: wangchengdong <[email protected]>
AuthorDate: Tue Jan 27 11:21:06 2026 +0800

    ostest/hrtimer: sync hrtimer ostest with latest hritmer update
    
      sync hrtimer ostest with latest hritmer update
    
    Signed-off-by: Chengdong Wang <[email protected]>
---
 testing/ostest/hrtimer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/ostest/hrtimer.c b/testing/ostest/hrtimer.c
index d503f878f..48ed46b99 100644
--- a/testing/ostest/hrtimer.c
+++ b/testing/ostest/hrtimer.c
@@ -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;
 }

Reply via email to