Update BLEMIDI_Transport.h

cleanup
This commit is contained in:
lathoub 2021-08-03 21:39:38 +02:00
parent ecd2c2bf22
commit 652c390483
1 changed files with 2 additions and 2 deletions

View File

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