xiaoxiang781216 commented on pull request #5424: URL: https://github.com/apache/incubator-nuttx/pull/5424#issuecomment-1030779882
@pkarashchenko @patacongo 's suggestion is the right direction to avoid the cumulative error in a long run. You can't avoid the cumulative error with the relative timeout, because the code from the timer interrupt happen to the next wd_start need time to finish the execution. You must use the absolute time like above to compensate this gap, otherwise the cumulative error will become bigger and bigger. -- 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]
