You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/09/28 21:53:34 UTC

[GitHub] [incubator-nuttx] saramonteiro opened a new pull request #4625: esp32-c3/esp32-s2: Fix the sequence of commands to set the alarm value on rt timer.

saramonteiro opened a new pull request #4625:
URL: https://github.com/apache/incubator-nuttx/pull/4625


   ## Summary
   
   This PR:
   
   1. Is intended to fix an issue manifested when using `rt_timer` clients with small intervals between their timeouts .
   In this scenario, sometimes, when the alarm value was set, the counter had already surpassed it but the interrupt
   was not triggered.
   To solve it, the alarm was disabled before setting and re-enabled after.
   2. Reorganizes the place where the alarm is set inside the ISR.
   
   ## Impact
   
   Fixes an issue.
   
   ## Testing
   
   RT timer internal test.
   
   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] gustavonihei merged pull request #4625: esp32-c3/esp32-s2: Fix the sequence of commands to set the alarm value on rt timer.

Posted by GitBox <gi...@apache.org>.
gustavonihei merged pull request #4625:
URL: https://github.com/apache/incubator-nuttx/pull/4625


   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] gustavonihei merged pull request #4625: esp32-c3/esp32-s2: Fix the sequence of commands to set the alarm value on rt timer.

Posted by GitBox <gi...@apache.org>.
gustavonihei merged pull request #4625:
URL: https://github.com/apache/incubator-nuttx/pull/4625


   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org