Now I do not understand why some of my code still works. :)
I see that jsiLastIdleTime should be changed when we change system time (by any way) to intervals remain in correct state.
But I do not see the change in code, so I understand why setSNTP does not work, but I do not understand why intervals are not broken after I call setTime() in JS. May be it happens (by some unclear way) because I call it from interval or timeout callback?
Now it seems to me there is may be a big general bug in Espruino. What do you think about that?
© Espruino, powered by microcosm.
Report a problem