Update serialmididevice.cpp

pull/267/head
arsamus 3 years ago committed by GitHub
parent fd1e5ec990
commit 6d94fe0f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/serialmididevice.cpp

@ -130,7 +130,8 @@ void CSerialMIDIDevice::Process (void)
m_SerialMessage[m_nSerialState++] = uchData;
if ( (m_SerialMessage[0] & 0xE0) == 0xC0
|| m_nSerialState == 3) // message is complete
|| m_nSerialState == 3 // message is complete
|| (m_SerialMessage[0] & 0xF0) == 0xD0) // channel aftertouch
{
MIDIMessageHandler (m_SerialMessage, m_nSerialState);

Loading…
Cancel
Save