From 69cc73e62628a3570938ac7c8d2b245412e7dac5 Mon Sep 17 00:00:00 2001 From: Anatoli Arkhipenko Date: Sat, 2 Jan 2016 22:01:21 -0500 Subject: v2.0.1 bug fix: issue#11 Xtensa compiler (esp8266): Declaration of constructor does not match implementation * bug fix: issue#11 Xtensa compiler (esp8266): Declaration of constructor does not match implementation --- src/TaskScheduler.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/TaskScheduler.h') 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 -- cgit v1.2.3