kasjer opened a new pull request #2434: URL: https://github.com/apache/mynewt-core/pull/2434
When GPIO pin is configured as input with interrupt it seems reasonable to be able to release this interrupt during GPIO interrupt handler without need to go through threaded code. To achieve this WKUP_CLEAR_PX() must be called with correct pin number. If interrupt handler released currently handled GPIO interrupt handler pin in hal_gpio_irqs is no longer valid. Now local copy of pin number is used when WKUP_CLEAR_PX is called to make sure releasing GPIO IRQ is safe. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
