Skip to content

Commit 0f3da1c

Browse files
authored
getTaskState (#24)
clean up keywords new version
1 parent ef98db5 commit 0f3da1c

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

keywords.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ TaskTimeToUs KEYWORD2
3030
TASK_DECLARE_BEGIN KEYWORD2
3131
TASK_DECLARE_FUNCTION KEYWORD2
3232
TASK_DECLARE_END KEYWORD2
33+
setTimeInterval KEYWORD2
34+
getTimeInterval KEYWORD2
35+
getTaskState KEYWORD2
3336

3437
#######################################
3538
# Constants (LITERAL1)

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"type": "git",
88
"url": "https://github.com/Makuna/Task.git"
99
},
10-
"version": "1.1.5",
10+
"version": "1.1.6",
1111
"frameworks": "arduino",
1212
"platforms": "*"
1313
}

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Task by Makuna
2-
version=1.1.5
2+
version=1.1.6
33
author=Michael C. Miller ([email protected])
44
maintainer=Michael C. Miller ([email protected])
55
sentence=A library that makes creating complex mulitple task projects easy.

src/Task.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ class Task
7676
return _timeInterval;
7777
}
7878

79+
TaskState getTaskState()
80+
{
81+
return _taskState;
82+
}
83+
7984
protected:
8085
virtual bool OnStart() { return true; };
8186
virtual void OnStop() {};

0 commit comments

Comments
 (0)