From e526426ac9739fe1885e001f9cf82d5138756bad Mon Sep 17 00:00:00 2001 From: Martin Spinler Date: Mon, 29 May 2023 18:38:39 +0200 Subject: [PATCH] fix: better handle system real time messages This allows to resend 1byte messages on other MIDI interfaces --- src/MIDI.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MIDI.hpp b/src/MIDI.hpp index be7c28a1..d1d5e2c9 100644 --- a/src/MIDI.hpp +++ b/src/MIDI.hpp @@ -893,6 +893,7 @@ bool MidiInterface::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