aboutsummaryrefslogtreecommitdiff
path: root/stm-uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm-uart.c')
-rw-r--r--stm-uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm-uart.c b/stm-uart.c
index ecec238..f54d95e 100644
--- a/stm-uart.c
+++ b/stm-uart.c
@@ -124,7 +124,7 @@ void uart_set_default(stm_uart_port_t port)
default_uart = port;
}
-inline UART_HandleTypeDef *_which_uart(stm_uart_port_t port)
+static inline UART_HandleTypeDef *_which_uart(stm_uart_port_t port)
{
if (port == STM_UART_USER) {
return &huart_user;