acassis commented on code in PR #17065:
URL: https://github.com/apache/nuttx/pull/17065#discussion_r2385669985
##########
sched/sched/sched_timerexpiration.c:
##########
@@ -424,16 +427,22 @@ static clock_t nxsched_timer_start(clock_t ticks, clock_t
interval)
interval = interval <= (CONFIG_TIMER_ADJUST_USEC / USEC_PER_TICK) ? 0 :
interval - (CONFIG_TIMER_ADJUST_USEC / USEC_PER_TICK);
-#ifdef CONFIG_SCHED_TICKLESS_ALARM
+#ifdef CONFIG_HRTIMER
+ ret = hrtimer_start(&g_hrtimer_systick_timer,
+ NSEC_PER_TICK * (ticks + interval),
Review Comment:
@anchao @xiaoxiang781216 I don't see the new function as a big issue, but
I'm not expert on it. Maybe @raiden00pl can comment, he implemented High
Resolution Timer support to some STM32 some time ago, maybe this PR could be
used for his previous driver.
--
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]