diff options
Diffstat (limited to 'wirish/include')
-rw-r--r-- | wirish/include/wirish/ext_interrupts.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wirish/include/wirish/ext_interrupts.h b/wirish/include/wirish/ext_interrupts.h index ce1ca03..7b82c40 100644 --- a/wirish/include/wirish/ext_interrupts.h +++ b/wirish/include/wirish/ext_interrupts.h @@ -106,7 +106,7 @@ void detachInterrupt(uint8 pin); * * @see noInterrupts() */ -static __always_inline void interrupts() { +static inline void interrupts() { nvic_globalirq_enable(); } @@ -120,7 +120,7 @@ static __always_inline void interrupts() { * * @see interrupts() */ -static __always_inline void noInterrupts() { +static inline void noInterrupts() { nvic_globalirq_disable(); } |