You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My doubt is I need to controll it in my main code?
I'm a newbie, sorry.
Library code....
bool Thread::shouldRun(unsigned long time){
// If the "sign" bit is set the signed difference would be negative
bool time_remaining = (time - _cached_next_run) & 0x80000000;
// Exceeded the time limit, AND is enabled? Then should run...
return !time_remaining && enabled;
I'm developing opens source project to sustentable agriculture.
I want to know what happens when millis() overflows...
If I need to remove all threads -> reset millis() -> addition all threads back to ThreadController in main code.
Thank you and congratulation for awesome library.
The text was updated successfully, but these errors were encountered: