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

benpicco notifications at github.com
Thu Aug 19 12:21:50 CEST 2021

The implementation for ARM7 is missing.
I think it should be

static inline __attribute__((always_inline)) unsigned irq_is_enabled(void)
    return !(__get_cpsr() & IRQ_MASK);


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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210819/c3936011/attachment.htm>

More information about the notifications mailing list