Skip to content

Commit

Permalink
Fixes #21
Browse files Browse the repository at this point in the history
  • Loading branch information
Denages committed May 15, 2017
1 parent 2ffb25b commit 55b9855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Thread.cpp
Expand Up @@ -4,7 +4,7 @@ Thread::Thread(void (*callback)(void), unsigned long _interval){
enabled = true;
onRun(callback);
_cached_next_run = 0;
last_run = 0;
last_run = millis();

ThreadID = (int)this;
#ifdef USE_THREAD_NAMES
Expand Down

0 comments on commit 55b9855

Please sign in to comment.