cederom commented on code in PR #17573:
URL: https://github.com/apache/nuttx/pull/17573#discussion_r2677410763


##########
drivers/timers/arch_alarm.c:
##########
@@ -118,8 +118,9 @@ static void ndelay_accurate(unsigned long nanoseconds)
 static void oneshot_callback(FAR struct oneshot_lowerhalf_s *lower,
                              FAR void *arg)
 {
-#ifdef CONFIG_SCHED_TICKLESS
-  nxsched_timer_expiration();
+#if defined(CONFIG_HRTIMER) || defined(CONFIG_SCHED_TICKLESS)
+  nxsched_process_timer();

Review Comment:
   wouldn't that break backward compatibility with existing tickless timer? :-P



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to