diff --git a/software/GToE/GToE.ino b/software/GToE/GToE.ino index a78f12c..9be0cf8 100644 --- a/software/GToE/GToE.ino +++ b/software/GToE/GToE.ino @@ -285,7 +285,7 @@ void calculateCycles() { } void calculateBPMTiming() { - int mod; + int mod = 0; if (masterClockMode == 0) { if (bpmModulationRange != 0 && !bpmModulationChannel) { mod = map (a1Input, 0, 1023, 0, bpmModulationRange*10);