diff options
| author | hathach <[email protected]> | 2021-02-01 13:41:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-02-01 13:41:20 +0700 |
| commit | 0799a910730a3aa881f6292b2c7cbbc784690e7a (patch) | |
| tree | 34b85bdb2853c173a1d9c29dff9df65f2621801e /src/class | |
| parent | 8e954a439151822fcd415b3c611008aee423b813 (diff) | |
| parent | 78f50518a48f55fe3a4d921895c5d6c400c355b0 (diff) | |
Merge branch 'master' into rp2040-logger-enumfix
Diffstat (limited to 'src/class')
| -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; } |
