From d19182c3e6d96a94b9c9912886f062a2e4fb93a3 Mon Sep 17 00:00:00 2001 From: Teufelchen1 Date: Thu, 10 Nov 2022 14:24:11 +0100 Subject: [PATCH] llvm: cpu/stm32: Fix unused function warning --- cpu/stm32/cpu_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpu/stm32/cpu_init.c b/cpu/stm32/cpu_init.c index 8087f11374..cf23295f2e 100644 --- a/cpu/stm32/cpu_init.c +++ b/cpu/stm32/cpu_init.c @@ -161,6 +161,7 @@ static void _gpio_init_ain(void) * This very teniously avoids optimization, even optimized it's better than * nothing but periodic review should establish that it doesn't get optimized. */ +MAYBE_UNUSED __attribute__((always_inline)) static inline uint32_t _multi_read_reg32(volatile uint32_t *addr, bool *glitch) {