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

Francisco notifications at github.com
Mon Aug 23 14:23:46 CEST 2021


@fjmolinas commented on this pull request.



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

Can you add a small comment so 
```suggestion
/**
 * @brief See if IRQs are currently enabled
 */
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-736055085
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210823/ba6c6e48/attachment-0001.htm>


More information about the notifications mailing list