You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, TIMER1_IRQHandler calls jshHadEvent - so every timer event will take Espruino out of sleep and once around the idle loop.
On Bangle.js it's needed because the peripheralPollHandler doesn't call jshHadEvent (and it doesn't seem to make much/any noticeable difference to power consumption).
However it might be a bigger deal on some other devices that are more conscious of power - not that we generally use the timer by default anyway.
The text was updated successfully, but these errors were encountered:
Note: recent bangle.js firmware uses app_timer not the util timer, so it's possible that as long as jstimer.c calls jshHadEvent correctly we'll be fine to remove it in TIMER1_IRQHandler
Currently,
TIMER1_IRQHandler
callsjshHadEvent
- so every timer event will take Espruino out of sleep and once around the idle loop.On Bangle.js it's needed because the peripheralPollHandler doesn't call
jshHadEvent
(and it doesn't seem to make much/any noticeable difference to power consumption).However it might be a bigger deal on some other devices that are more conscious of power - not that we generally use the timer by default anyway.
The text was updated successfully, but these errors were encountered: