Skip to content

Commit 7bb6f18

Browse files
committed
MODDEF_RETENTION_MEMORY
1 parent 12d6613 commit 7bb6f18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/devices/gecko/sleep/xsSleep.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "mc.defines.h"
1616

1717
void xs_get_persistent_value(xsMachine *the) {
18-
#if MODDEF_RETENTION
18+
#if MODDEF_RETENTION_MEMORY
1919
uint32_t reg = xsToInteger(xsArg(0));
2020
uint32_t val;
2121
val = geckoGetPersistentValue(reg);
@@ -26,7 +26,7 @@ void xs_get_persistent_value(xsMachine *the) {
2626
}
2727

2828
void xs_set_persistent_value(xsMachine *the) {
29-
#if MODDEF_RETENTION
29+
#if MODDEF_RETENTION_MEMORY
3030
uint32_t reg = xsToInteger(xsArg(0));
3131
uint32_t val = xsToInteger(xsArg(1));
3232
geckoSetPersistentValue(reg, val);

0 commit comments

Comments
 (0)