aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple')
-rw-r--r--libmaple/usart_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/usart_private.h b/libmaple/usart_private.h
index a5cec83..8e8e11b 100644
--- a/libmaple/usart_private.h
+++ b/libmaple/usart_private.h
@@ -37,7 +37,7 @@
#include <libmaple/ring_buffer.h>
#include <libmaple/usart.h>
-static inline void usart_irq(ring_buffer *rb, usart_reg_map *regs) {
+static __always_inline void usart_irq(ring_buffer *rb, usart_reg_map *regs) {
#ifdef USART_SAFE_INSERT
/* If the buffer is full and the user defines USART_SAFE_INSERT,
* ignore new bytes. */