aboutsummaryrefslogtreecommitdiffstats
path: root/wirish
diff options
context:
space:
mode:
Diffstat (limited to 'wirish')
-rw-r--r--wirish/include/wirish/ext_interrupts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wirish/include/wirish/ext_interrupts.h b/wirish/include/wirish/ext_interrupts.h
index 9ef4657..933be04 100644
--- a/wirish/include/wirish/ext_interrupts.h
+++ b/wirish/include/wirish/ext_interrupts.h
@@ -84,7 +84,7 @@ void detachInterrupt(uint8 pin);
*
* @see noInterrupts()
*/
-static inline void interrupts() {
+static __always_inline void interrupts() {
nvic_globalirq_enable();
}
@@ -98,7 +98,7 @@ static inline void interrupts() {
*
* @see interrupts()
*/
-static inline void noInterrupts() {
+static __always_inline void noInterrupts() {
nvic_globalirq_disable();
}