We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ffb25b + 55b9855 commit a7eda0fCopy full SHA for a7eda0f
Thread.cpp
@@ -4,7 +4,7 @@ Thread::Thread(void (*callback)(void), unsigned long _interval){
4
enabled = true;
5
onRun(callback);
6
_cached_next_run = 0;
7
- last_run = 0;
+ last_run = millis();
8
9
ThreadID = (int)this;
10
#ifdef USE_THREAD_NAMES
0 commit comments