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:
parent
a4bf63e483
commit
f4c5cf173d
@ -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() */
|
||||
|
Loading…
Reference in New Issue
Block a user