Fix #2 for clock PPQN resolutions of 16, 32 and 96

pull/7/head
midilab 7 years ago
parent b96abea65b
commit cca6dd87c5
  1. 8
      src/uClock.cpp

@ -256,6 +256,10 @@ void uClockClass::handleTimerInt()
div32th_counter++;
}
if (onClock96PPQNCallback) {
onClock96PPQNCallback(&div96th_counter);
}
div96th_counter++;
mod6_counter++;
@ -274,10 +278,6 @@ void uClockClass::handleTimerInt()
}
}
}
if (onClock96PPQNCallback) {
onClock96PPQNCallback(&div96th_counter);
}
if (mod6_counter == 6) {
mod6_counter = 0;

Loading…
Cancel
Save