[riot-notifications] [RIOT-OS/RIOT] core: add irq_is_enabled() function to irq interface (#11117)
notifications at github.com
Thu Aug 19 09:11:26 CEST 2021
After some quick testing with native and cortex-m, I found that both behave differently when calling `irq_is_enabled()` from interrupt context. As there its not easy to say what the correct return value would be here, I decided to mark the function to be only valid in thread context for now. This should be the save way to go, and we can always relax/delete that warning if we figure out a platform independent behavior of what to return from interrupt context...
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications