1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #18870 from Teufelchen1/fix/llvm_gnrc_lorawan

llvm: Fix unused function warning
This commit is contained in:
Marian Buschsieweke 2024-03-19 20:00:58 +00:00 committed by GitHub
commit 23d30cb106
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
{