Update MIDI.hpp

This commit is contained in:
lathoub 2021-10-10 12:16:15 +02:00
parent e1035a03f7
commit 892f65a9ee
1 changed files with 1 additions and 1 deletions

View File

@ -1453,7 +1453,7 @@ MidiInterface<Transport, Settings, Platform>& MidiInterface<Transport, Settings,
{
// If the feature is disabled, don't do anything.
if (!mThruActivated || (mThruFilterMode == Thru::Off))
return;
return *this;
// First, check if the received message is Channel
if (mMessage.type >= NoteOff && mMessage.type <= PitchBend)