diff --git a/src/uClock.cpp b/src/uClock.cpp index 679289c..8492306 100755 --- a/src/uClock.cpp +++ b/src/uClock.cpp @@ -102,8 +102,9 @@ void uClockClass::start() void uClockClass::stop() { - resetCounters(); + state = PAUSED; start_timer = 0; + resetCounters(); if (onClockStopCallback) { onClockStopCallback(); }