summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnatoli Arkhipenko <arkhipenko@hotmail.com>2016-01-02 22:01:21 -0500
committerAnatoli Arkhipenko <arkhipenko@hotmail.com>2016-01-02 22:01:21 -0500
commit69cc73e62628a3570938ac7c8d2b245412e7dac5 (patch)
treec901d0c7243c186b0ff8df2610e068d8e3bec2c7 /src
parent6d8385002bbdbdaeadff0c46e300ad6446ba26a5 (diff)
v2.0.1 bug fix: issue#11 Xtensa compiler (esp8266): Declaration of constructor does not match implementationv2.0.1
* bug fix: issue#11 Xtensa compiler (esp8266): Declaration of constructor does not match implementation
Diffstat (limited to 'src')
-rw-r--r--src/TaskScheduler.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/TaskScheduler.h b/src/TaskScheduler.h
index 610ca75..589bf6c 100644
--- a/src/TaskScheduler.h
+++ b/src/TaskScheduler.h
@@ -1,4 +1,4 @@
-// Cooperative multitasking library for Arduino version 2.0.0
+// Cooperative multitasking library for Arduino version 2.0.1
// Copyright (c) 2015 Anatoli Arkhipenko
//
// Changelog:
@@ -76,6 +76,9 @@
//
// v2.0.0:
// 2015-12-22 - _TASK_PRIORITY - support for layered task prioritization
+//
+// v2.0.1:
+// 2016-01-02 - bug fix: issue#11 Xtensa compiler (esp8266): Declaration of constructor does not match implementation
/* ============================================
@@ -174,7 +177,7 @@ class Scheduler;
class Task {
friend class Scheduler;
public:
- Task(unsigned long aInterval=0, long aIterations=0, void (*aCallback)()=NULL, Scheduler* aScheduler=NULL, boolean aEnable=false, bool (*aOnEnable)()=NULL, void (*aOnDisable)()=NULL);
+ Task(unsigned long aInterval=0, long aIterations=0, void (*aCallback)()=NULL, Scheduler* aScheduler=NULL, bool aEnable=false, bool (*aOnEnable)()=NULL, void (*aOnDisable)()=NULL);
#ifdef _TASK_STATUS_REQUEST
Task(void (*aCallback)()=NULL, Scheduler* aScheduler=NULL, bool (*aOnEnable)()=NULL, void (*aOnDisable)()=NULL);
#endif