[riot-notifications] [RIOT-OS/RIOT] core: add irq_is_enabled() function to irq interface (#11117)

Francisco notifications at github.com
Mon Aug 2 13:49:25 CEST 2021


@fjmolinas commented on this pull request.



> @@ -61,6 +61,14 @@ static inline __attribute__((always_inline)) void irq_restore(
     __set_PRIMASK(state);
 }
 
+int irq_is_enabled(void)

```suggestion
static inline attribute__((always_inline)) int irq_is_enabled(void)
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11117#pullrequestreview-720114213
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210802/b74e6b65/attachment-0001.htm>


More information about the notifications mailing list