Skip to content

Commit a41cf82

Browse files
committed
Modified header comments
1 parent 0fb7225 commit a41cf82

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Thread.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*
22
Thread.h - An runnable object
33
4-
Contains information about the running Thread, such as:
5-
Delay between calls,
6-
If it should be runned,
4+
Thread is responsable for holding the "action" for something,
5+
also, it responds if it "should" or "should not" run, based on
6+
the current time;
77
8-
ThreadController is an extended class of Thread, since you can include
8+
For instructions, go to https://github.com/ivanseidel/ArduinoTimer
99
1010
Created by Ivan Seidel Gomes, March, 2013.
1111
Released into the public domain.
@@ -40,7 +40,7 @@ class Thread{
4040
Thread(void (*callback)(void) = NULL, long _interval = 0);
4141

4242
// Set the desired interval for calls, and update _cached_next_run
43-
Thread setInterval(long _interval);
43+
virtual Thread setInterval(long _interval);
4444

4545
// Return if the Thread should be runned or not
4646
virtual bool shouldRun(long time = -1);

ThreadController.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
Basicaly, what it does is to keep track of current Threads and run when
55
necessary.
66
7-
ThreadController is an extended class of Thread, since you can include
7+
ThreadController is an extended class of Thread, because of that,
8+
it allows you to add a ThreadController inside another ThreadController...
89
10+
For instructions, go to https://github.com/ivanseidel/ArduinoTimer
911
1012
Created by Ivan Seidel Gomes, March, 2013.
1113
Released into the public domain.

0 commit comments

Comments
 (0)