From 05f1e43534e5af72aa6bb8dcf698b95ab1ce428c Mon Sep 17 00:00:00 2001 From: BeZo Date: Wed, 6 Jul 2022 20:04:29 +0200 Subject: [PATCH] The check was not correct, fixed --- src/mididevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mididevice.cpp b/src/mididevice.cpp index 6847395..3e420d4 100644 --- a/src/mididevice.cpp +++ b/src/mididevice.cpp @@ -329,7 +329,7 @@ void CMIDIDevice::HandleSystemExclusive(const uint8_t* pMessage, const size_t nL if ( sysex_return == -11 && pMessage[0] == 0xF0 && pMessage[1] == 0x43 && nLength == 4 ) { - if ((pMessage[2] & 0x30) == 0x30) // Send config request + if ((pMessage[2] & 0x70) == 0x30) // Send config request sysex_return = 600; if ((pMessage[2] & 0x70) == 0x40) // Send Bank Name request sysex_return = 601;