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.
|
* counter anyway after wakeup, we did not sleep properly.
|
||||||
*/
|
*/
|
||||||
static int counter_noinit __attribute__((section(".noinit")));
|
static int counter_noinit __attribute__((section(".noinit")));
|
||||||
static int counter __attribute__((section(".backup.bss")));
|
static int counter BACKUP_RAM;
|
||||||
|
|
||||||
if (counter == 0) {
|
if (counter == 0) {
|
||||||
puts("\nBackup RAM test\n");
|
puts("\nBackup RAM test\n");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user