Skip to content

Commit

Permalink
fix: better handle system real time messages
Browse files Browse the repository at this point in the history
This allows to resend 1byte messages on other MIDI interfaces
  • Loading branch information
martinspinler committed May 29, 2023
1 parent 2d64cc3 commit e526426
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/MIDI.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -893,6 +893,7 @@ bool MidiInterface<Transport, Settings, Platform>::parse()
mMessage.data1 = 0;
mMessage.data2 = 0;
mMessage.valid = true;
mMessage.length = 1;

// Do not reset all input attributes, Running Status must remain unchanged.
// We still need to reset these
Expand Down

0 comments on commit e526426

Please sign in to comment.