Ok, I've just added Bangle.setOptions({btnLoadTimeout:...}) to cutting edge builds. I'd forgot about this but you should also be able to do: E.enableWatchdog(5); which will set the watchdog to 'automatic' mode - so it's called automatically in the idle loop. As a result you'll only be able to long-press reboot if the Bangle's code really has locked up and you hold the button.
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.
Ok, I've just added
Bangle.setOptions({btnLoadTimeout:...})
to cutting edge builds. I'd forgot about this but you should also be able to do:E.enableWatchdog(5);
which will set the watchdog to 'automatic' mode - so it's called automatically in the idle loop. As a result you'll only be able to long-press reboot if the Bangle's code really has locked up and you hold the button.So do:
with cutting edge firmwares and you're sorted