Ahh, ok - yes Bangle.setPollInterval(4000); would do it! It's not a segfault you had, you're just not kicking the watchdog timer enough and so it reboots.
Out of interest why are you setting it so low, or fiddling with it at all? It shouldn't really affect power usage noticeably - with the default value it'll run for over a month if nothing else is sucking the power!
Honestly, I have no idea about what could be causing that issue - maybe try backing out the power saving changes you made until it starts working to see if you can narrow down what's wrong?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ahh, ok - yes Bangle.setPollInterval(4000); would do it! It's not a segfault you had, you're just not kicking the watchdog timer enough and so it reboots.
Out of interest why are you setting it so low, or fiddling with it at all? It shouldn't really affect power usage noticeably - with the default value it'll run for over a month if nothing else is sucking the power!
Honestly, I have no idea about what could be causing that issue - maybe try backing out the power saving changes you made until it starts working to see if you can narrow down what's wrong?