Skip to content

Commit a2f13da

Browse files
committed
ensure sd check only on nrf5x
1 parent 5f0b776 commit a2f13da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jswrap_process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ JsVar *jswrap_process_env() {
167167
extern uint32_t app_ram_base;
168168
if (app_ram_base)
169169
jsvObjectSetChildAndUnLock(obj, "APP_RAM_BASE", jsvNewFromInteger((JsVarInt)app_ram_base));
170-
#endif
171170
// https://devzone.nordicsemi.com/f/nordic-q-a/1171/how-do-i-access-softdevice-version-string
172171
jsvObjectSetChildAndUnLock(obj, "SOFTDEVICE", jsvNewFromInteger(*(uint16_t*)0x0000300C));
172+
#endif
173173
#endif
174174
return obj;
175175
}

0 commit comments

Comments
 (0)