Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bangle.js power saving crash #1937

Closed
gfwilliams opened this issue Sep 30, 2020 · 1 comment
Closed

Bangle.js power saving crash #1937

gfwilliams opened this issue Sep 30, 2020 · 1 comment

Comments

@gfwilliams
Copy link
Member

Referenced here: http://forum.espruino.com/conversations/354191/#comment15547377

Something about the new accelerometer power save functionality seems to cause a watchdog reset in combination with other functionality (maybe setInterval?). It appears to be a watchdog timeout.

I managed to reproduce once with just:

g.clear();
n=0;
setInterval(function() {
  g.drawString(("                     "+n++).substr(-8),20,20,true);
},100);

but not reliably.

gfwilliams added a commit that referenced this issue Sep 30, 2020
…that rescheduling app timer from within an IRQ can sometimes cause problems
@gfwilliams
Copy link
Member Author

Based on the replies on the forum post linked above, 4ecdc29 actually fixed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant