arduino_midi_library icon indicating copy to clipboard operation
arduino_midi_library copied to clipboard

Fix for wrong size of message.length

Open rbarreiros opened this issue 1 year ago • 0 comments

Initialize message.length on first packet (don't leave it at 0) and fix for 2 packet message sizes. I noticed that the end of message is already covered with setting message length with the mPendingMessageExpectedLength as it should, and that there's a check if the message is realtime, as send() in master branch calls getStatus() which screws up realtime midi messages (0xf8).

rbarreiros avatar Oct 16 '23 18:10 rbarreiros