avoid volatile warnings for setTimerTempo

pull/9/head
midilab 2 years ago
parent 8e1d7d2ed8
commit 1767b06bb9
  1. 4
      src/uClock.cpp

@ -226,7 +226,7 @@ void uClockClass::setTempo(float bpm)
tempo = bpm
)
setTimerTempo(tempo);
setTimerTempo(bpm);
}
@ -373,7 +373,7 @@ void uClockClass::handleTimerInt()
if (bpm != tempo) {
if (bpm >= MIN_BPM && bpm <= MAX_BPM) {
tempo = bpm;
setTimerTempo(tempo);
setTimerTempo(bpm);
}
}
}

Loading…
Cancel
Save