From aff99b64e9ebf6b2bef56cc31fcc1d5c889aa2b5 Mon Sep 17 00:00:00 2001 From: Benjamin Valentin Date: Mon, 16 Mar 2020 23:35:11 +0100 Subject: [PATCH] tests/periph_backup_ram: use BACKUP_RAM attribute --- tests/periph_backup_ram/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/periph_backup_ram/main.c b/tests/periph_backup_ram/main.c index f76cb0e059..bdb88aa72e 100644 --- a/tests/periph_backup_ram/main.c +++ b/tests/periph_backup_ram/main.c @@ -39,7 +39,7 @@ int main(void) * counter anyway after wakeup, we did not sleep properly. */ static int counter_noinit __attribute__((section(".noinit"))); - static int counter __attribute__((section(".backup.bss"))); + static int counter BACKUP_RAM; if (counter == 0) { puts("\nBackup RAM test\n");