Skip to content

Commit

Permalink
increase SPL06_007_EN powerOn timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
d3nd3 committed Jan 13, 2024
1 parent 076dba0 commit 87213b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/banglejs/jswrap_bangle.c
Original file line number Diff line number Diff line change
Expand Up @@ -5069,7 +5069,7 @@ JsVar *jswrap_banglejs_getPressure() {
#endif
#ifdef PRESSURE_DEVICE_SPL06_007_EN
if (PRESSURE_DEVICE_SPL06_007_EN)
powerOnTimeout = 400; // on SPL06 we may actually be leaving it *too long* before requesting data, and it starts to do another reading
powerOnTimeout = 750; // on SPL06 we may actually be leaving it *too long* before requesting data, and it starts to do another reading
#endif
// If barometer is already on, just resolve promise with the current result
if (bangleFlags & JSBF_BAROMETER_ON) {
Expand Down

0 comments on commit 87213b6

Please sign in to comment.