From b96abea65b03b06e3eea3d70f5dcc8d80a394dbf Mon Sep 17 00:00:00 2001 From: midilab Date: Mon, 4 Dec 2017 20:00:29 -0200 Subject: [PATCH] Fix for 16PPQN and 32PPQN resolution --- src/uClock.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/uClock.cpp b/src/uClock.cpp index 7274fde..4e55579 100755 --- a/src/uClock.cpp +++ b/src/uClock.cpp @@ -256,8 +256,8 @@ void uClockClass::handleTimerInt() div32th_counter++; } - //div96th_counter++; - //mod6_counter++; + div96th_counter++; + mod6_counter++; if (mode == EXTERNAL_CLOCK) { uint16_t cur_clock = _clock; @@ -282,9 +282,6 @@ void uClockClass::handleTimerInt() if (mod6_counter == 6) { mod6_counter = 0; } - - div96th_counter++; - mod6_counter++; } else { counter--;