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

cpu/stm32: fix compilation with clang

This commit is contained in:
Marian Buschsieweke 2023-05-19 22:09:01 +02:00 committed by Marian Buschsieweke
parent a4bf63e483
commit f4c5cf173d
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -397,6 +397,7 @@ void backup_ram_init(void)
#define BACKUP_RAM_MAGIC {'R', 'I', 'O', 'T'}
#endif
__attribute__((unused))
static inline bool _backup_battery_connected(void) {
#if IS_USED(MODULE_PERIPH_VBAT)
vbat_init(); /* early use of VBAT requires init() */