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.
1 parent 2fda3da commit 743fc5fCopy full SHA for 743fc5f
ThreadController.cpp
@@ -18,6 +18,10 @@ ThreadController::ThreadController(long _interval): Thread(){
18
ThreadController run() (cool stuf)
19
*/
20
void ThreadController::run(){
21
+ // Run this thread before
22
+ if(_onRun != NULL)
23
+ _onRun();
24
+
25
long time = millis();
26
int checks = 0;
27
for(int i = 0; i < MAX_THREADS && checks <= cached_size; i++){
0 commit comments