I agree. There are windows where widpedom could drop steps.
I have been monitoring for a few days. They basically stay in step unless there is a full reboot or you walk about when widgets are not loaded.
setTimeout(() => Bangle.drawWidgets(), 10);return
I initially had that as I though it was the way to do it. But when I ran into #1249 I took it out as I thought I might have caused it.
But when I try just that 1 line change I get the following on the console when the widget reloads or you come back from choosing an app in the launcher.
>
Error: Error: Function or String not supplied!
Error: Error: Function or String not supplied!
>
____ _
| __|___ ___ ___ _ _|_|___ ___
| __|_ -| . | _| | | | | . |
|____|___| _|_| |___|_|_|_|___|
|_| espruino.com
2v11.7 (c) 2021 G.Williams
Error: Error: Function or String not supplied!
>
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.
I agree. I only rebooted as things got complicated by running into
https://github.com/espruino/BangleApps/issues/1249
I agree. There are windows where widpedom could drop steps.
I have been monitoring for a few days. They basically stay in step unless there is a full reboot or you walk about when widgets are not loaded.
I initially had that as I though it was the way to do it. But when I ran into #1249 I took it out as I thought I might have caused it.
But when I try just that 1 line change I get the following on the console when the widget reloads or you come back from choosing an app in the launcher.