diff options
| author | Michael Himing <[email protected]> | 2021-01-28 20:31:11 +1100 |
|---|---|---|
| committer | Michael Himing <[email protected]> | 2021-01-28 20:31:11 +1100 |
| commit | c4f7ea09f1e5df01eecc2b223728e066c1d8fc02 (patch) | |
| tree | 5f11337ce9ea6f6e4b0c4f8ba3b6304e2529bd44 | |
| parent | 40870f9037126b2ec63993963c2b1373974ed92c (diff) | |
Fix midi sysex sending bug
| -rw-r--r-- | src/class/midi/midi_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/class/midi/midi_device.c b/src/class/midi/midi_device.c index ce4c9cafe..9fff20be2 100644 --- a/src/class/midi/midi_device.c +++ b/src/class/midi/midi_device.c @@ -192,6 +192,7 @@ uint32_t tud_midi_n_write(uint8_t itf, uint8_t jack_id, uint8_t const* buffer, u if (midi->write_buffer[0] == 0x4) { if (data == 0xf7) { midi->write_buffer[0] = 0x5; + midi->write_target_length = 2; } else { midi->write_target_length = 4; } |
