You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2017/11/23 00:43:26 UTC

[GitHub] ccollins476ad opened a new pull request #675: apollo2 - Ensure OS tick timer is running.

ccollins476ad opened a new pull request #675: apollo2 - Ensure OS tick timer is running.
URL: https://github.com/apache/mynewt-core/pull/675
 
 
   The code assumes that when it does not reschedule the OS tick timer (STIMER), it will expire on the next OS tick.  This assumption failed on the first tick after startup, as the ISR hadn't run yet.  Consequently, the idle task would never terminate if a scheduling event occurred on the first tick.
   
   The fix is to set the STIMER to expire on the next OS tick at init time.
   
   I also snuck in a few minor fixes (second and third commits).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services