parent
ecd2c2bf22
commit
652c390483
|
|
@ -314,8 +314,8 @@ public:
|
||||||
case MIDI_NAMESPACE::MidiType::SystemExclusive:
|
case MIDI_NAMESPACE::MidiType::SystemExclusive:
|
||||||
|
|
||||||
// do we have a complete sysex?
|
// do we have a complete sysex?
|
||||||
if ((rPtr + 1 < length) && (buffer[rPtr + 1] == 0xF7))
|
if ((rPtr + 1 < length) && (buffer[rPtr + 1] == MIDI_NAMESPACE::MidiType::SystemExclusiveEnd))
|
||||||
rPtr--;
|
rPtr--; // before end is the timestampLow
|
||||||
|
|
||||||
mBleClass.add(buffer[lPtr]);
|
mBleClass.add(buffer[lPtr]);
|
||||||
for (byte i = lPtr; i < rPtr; i++)
|
for (byte i = lPtr; i < rPtr; i++)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue