Skip to content

Commit 7f39a77

Browse files
committed
fix emscripten build
1 parent 1dbf406 commit 7f39a77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/banglejs/jswrap_bangle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4901,7 +4901,7 @@ JsVar *jswrap_banglejs_dbg() {
49014901
jsvObjectSetChildAndUnLock(o,"hrmSportActivity",jsvNewFromInteger(hrmSportActivity)); // Sport activity running average
49024902
jsvObjectSetChildAndUnLock(o,"hrmSportMode",jsvNewFromInteger(hrmInfo.sportMode)); // The sport mode the HRM is currently in (different to getOptions().hrmSportMode which is what we're requesting)
49034903
#endif
4904-
#ifdef BANGLEJS_Q3
4904+
#if defined(BANGLEJS_Q3) && !defined(EMULATED)
49054905
jsvObjectSetChildAndUnLock(o,"SPL06", jsvNewFromBool(pressureSPL06Enabled));
49064906
jsvObjectSetChildAndUnLock(o,"BMP280", jsvNewFromBool(pressureBMP280Enabled));
49074907
jsvObjectSetChildAndUnLock(o,"MAG0C", jsvNewFromBool(mag0CEnabled));

0 commit comments

Comments
 (0)