Fixed bug that caused problems on manual adjustment of bpm

This commit is contained in:
--global
2023-05-13 01:01:49 +03:00
parent 4e6c9cc931
commit 4ed28110c9

View File

@ -285,7 +285,7 @@ void calculateCycles() {
} }
void calculateBPMTiming() { void calculateBPMTiming() {
int mod; int mod = 0;
if (masterClockMode == 0) { if (masterClockMode == 0) {
if (bpmModulationRange != 0 && !bpmModulationChannel) { if (bpmModulationRange != 0 && !bpmModulationChannel) {
mod = map (a1Input, 0, 1023, 0, bpmModulationRange*10); mod = map (a1Input, 0, 1023, 0, bpmModulationRange*10);