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


##########
arch/tricore/src/common/tricore_systimer.c:
##########
@@ -376,7 +443,13 @@ tricore_systimer_initialize(volatile void *tbase, int irq, 
uint64_t freq)
   IfxStm_enableComparatorInterrupt(tbase, IfxStm_Comparator_0);
 
   irq_attach(irq, tricore_systimer_interrupt, priv);
-  up_enable_irq(irq);
 
-  return (struct oneshot_lowerhalf_s *)priv;
+  up_alarm_set_lowerhalf((struct oneshot_lowerhalf_s *)priv);

Review Comment:
   @xiaoxiang781216  
   I added support for the tickless mode, please let me know if you have 
further comments



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