This commit is contained in:
Lukas Schwabe 2022-01-22 23:37:03 -08:00 committed by GitHub
commit b990328454
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 15 deletions

View File

@ -1095,6 +1095,8 @@ bool MidiInterface<Transport, Settings, Platform>::parse()
mMessage.valid = true;
// Activate running status (if enabled for the received type)
if (Settings::UseRunningStatus) {
switch (mMessage.type)
{
case NoteOff:
@ -1113,6 +1115,13 @@ bool MidiInterface<Transport, Settings, Platform>::parse()
mRunningStatus_RX = InvalidType;
break;
}
}
else {
mRunningStatus_RX = InvalidType;
}
return true;
}
else