mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
tests/periph_backup_ram: use BACKUP_RAM attribute
This commit is contained in:
parent
69551d4a74
commit
aff99b64e9
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user