diff --git a/Thread.h b/Thread.h index 0e580a9..cf0be31 100644 --- a/Thread.h +++ b/Thread.h @@ -69,6 +69,7 @@ class Thread{ #endif Thread(void (*callback)(void) = NULL, unsigned long _interval = 0); + virtual ~Thread() {}; // Set the desired interval for calls, and update _cached_next_run virtual void setInterval(unsigned long _interval); diff --git a/library.json b/library.json index 975f790..5cdcf68 100644 --- a/library.json +++ b/library.json @@ -1,11 +1,11 @@ { - "name": "Thread", + "name": "ArduinoThreadPatched", "keywords": "thread, task", "description": "A library for managing the periodic execution of multiple tasks", "repository": { "type": "git", - "url": "https://github.com/ivanseidel/ArduinoThread.git" + "url": "https://github.com/exsolvi/ArduinoThread.git" }, "frameworks": "arduino", "platforms": "atmelavr" diff --git a/library.properties b/library.properties index 1494795..fadd5d0 100644 --- a/library.properties +++ b/library.properties @@ -1,9 +1,9 @@ -name=ArduinoThread -version=2.1.0 +name=ArduinoThreadPatched +version=2.1.2 author=Ivan Seidel maintainer=Ivan Seidel sentence=A simple way to run Threads on Arduino paragraph=This Library helps to maintain organized and to facilitate the use of multiple tasks. We can use Timers Interrupts, and make it really powerfull, running "pseudo-background" tasks on the rug. category=Timing -url=https://github.com/ivanseidel/ArduinoThread +url=https://github.com/exsolvi/ArduinoThread architectures=*