wangchdo commented on PR #17318: URL: https://github.com/apache/nuttx/pull/17318#issuecomment-3522514265
> > ## Summary > > > This PR introduces a new architecture API: up_timer_trigger(), which allows triggering a timer interrupt instantly and safely. It resolves the issue where up_alarm_start() or up_alarm_tick_start() could start the timer earlier than the current alarm time, leading to an incorrect timeout value. This could cause the timer interrupt to occur much later than expected—only after the timer counter overflows to the wrong timeout. > > > > I already point out in another PR, the new api doesn't change anything at all, so please don't try ths direction again. OK I agree, I think it would be better to improve up_timer_start -- 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]
