raiden00pl commented on code in PR #17065:
URL: https://github.com/apache/nuttx/pull/17065#discussion_r2387414358


##########
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:
   @acassis HRTIM in stm32 is something different, with a completely different 
applications. Here, HRTIMER is related to the system clock. In the case of many 
mixed-signal MCUs, HRTIM stands for advanced high resolution timer for 
generating PWM and triggering ADCs/DACs/etc. The naming in embedded 
applications can be confusing :)



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