It happens when setInterval/timeout/watch is called with a first argument that's not a function or a string.
It's hard to believe that setTimeout(() => Bangle.drawWidgets(), 10); is what is causing it. You could add some logging statements to try and see - could there be anything else?
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.
It happens when
setInterval/timeout/watch
is called with a first argument that's not a function or a string.It's hard to believe that
setTimeout(() => Bangle.drawWidgets(), 10);
is what is causing it. You could add some logging statements to try and see - could there be anything else?