Skip to content

Commit

Permalink
Bangle.js2: After Bangle.showTestScreen, put Bangle.js into a hard of…
Browse files Browse the repository at this point in the history
…f state (not soft off)
  • Loading branch information
gfwilliams committed Jun 28, 2024
1 parent a308ab6 commit 57d6b22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
: Add 'Bangle.touchRd()', 'Bangle.touchWr()'
: Bangle.js2: Add 'Bangle.touchRd()', 'Bangle.touchWr()'
Bangle.js2: After Bangle.showTestScreen, put Bangle.js into a hard off state (not soft off)

2v23 : Fix XON/OFF thresholds to be based off the correct buffer size
Bangle.js2: Added BANGLE2_IFLASH target for firmware using internal flash for js files (currently only partially working)
Expand Down
2 changes: 1 addition & 1 deletion libs/js/banglejs/Bangle_showTestScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
require('Storage').writeJSON('welcome.json', {welcomed: false});
Bangle.setPollInterval(800); // force low power accelerometer mode
setTimeout(function() {
Bangle.softOff();
Bangle.off();
}, 60*60*1000); // 1 hour
});
})

0 comments on commit 57d6b22

Please sign in to comment.