diff --git a/Ticker.cpp b/Ticker.cpp index 04fe280..04902dd 100755 --- a/Ticker.cpp +++ b/Ticker.cpp @@ -77,7 +77,10 @@ bool Ticker::tick() { uint32_t currentTime = (resolution == MILLIS) ? millis() : micros(); if ((currentTime - lastTime) >= timer) { lastTime = currentTime; - if (repeat - counts == 1 && counts != 0xFFFFFFFF) enabled = false; + if (repeat - counts == 1 && counts != 0xFFFFFFFF) { + enabled = false; + status = STOPPED; + } counts++; return true; }