Skip to content

Commit

Permalink
don't expect msg when busy
Browse files Browse the repository at this point in the history
  • Loading branch information
vsicurella committed Aug 4, 2024
1 parent e53e440 commit 61ed928
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -941,8 +941,12 @@ void LumatoneFirmwareDriver::handleIncomingMidiMessage(juce::MidiInput* source,
{
// Start delay timer, after which message will be sent again
timerType = TimerType::delayWhileDeviceBusy;
DBG("Starting Busy Timer");
startTimer(busyTimeDelayInMilliseconds);
if (!isTimerRunning())
{
DBG("Starting Busy Timer");
hasMsgWaitingForAck = false;
startTimer(busyTimeDelayInMilliseconds);
}
}
else
{
Expand Down

0 comments on commit 61ed928

Please sign in to comment.