From a35fe31c73cb1e9132ba8939d26836c86d65d790 Mon Sep 17 00:00:00 2001 From: Stefan Staub Date: Thu, 25 Mar 2021 03:41:43 +0100 Subject: [PATCH] update --- Ticker.cpp | 2 +- library.json | 2 +- library.properties | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Ticker.cpp b/Ticker.cpp index 04902dd..4b5e591 100755 --- a/Ticker.cpp +++ b/Ticker.cpp @@ -80,7 +80,7 @@ bool Ticker::tick() { if (repeat - counts == 1 && counts != 0xFFFFFFFF) { enabled = false; status = STOPPED; - } + } counts++; return true; } diff --git a/library.json b/library.json index 5cb6d27..bdcf33e 100755 --- a/library.json +++ b/library.json @@ -7,7 +7,7 @@ "type": "git", "url": "https://github.com/sstaub/Ticker" }, - "version": "4.1.0", + "version": "4.2.0", "frameworks": "arduino", "platforms": "*" } diff --git a/library.properties b/library.properties index 9ef38eb..b1a4dba 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Ticker -version=4.1.0 +version=4.2.0 author=Stefan Staub maintainer=Stefan Staub sentence=A library for creating Tickers which can call repeating functions. Replaces delay() with non-blocking functions.