fix for stop state bug on last release

pull/7/head
midilab 4 years ago
parent ed4755e5bd
commit ff8cbfbd52
  1. 3
      src/uClock.cpp

@ -102,8 +102,9 @@ void uClockClass::start()
void uClockClass::stop() void uClockClass::stop()
{ {
resetCounters(); state = PAUSED;
start_timer = 0; start_timer = 0;
resetCounters();
if (onClockStopCallback) { if (onClockStopCallback) {
onClockStopCallback(); onClockStopCallback();
} }

Loading…
Cancel
Save