diff options
| author | HiFiPhile <[email protected]> | 2026-05-18 23:08:03 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2026-05-18 23:08:03 +0200 |
| commit | b54c8666ec35efb48305d943c87bc48800dd7d15 (patch) | |
| tree | 00c93e25d1661ff2a65bb665e87f9d8d2c3882c4 | |
| parent | 4baf1883c194c2c4b6fa30cc0c443ad6c83e0b19 (diff) | |
update example
Signed-off-by: HiFiPhile <[email protected]>
| -rw-r--r-- | examples/device/midi2_device/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/midi2_device/src/main.c b/examples/device/midi2_device/src/main.c index d5f9bae24..62741ac41 100644 --- a/examples/device/midi2_device/src/main.c +++ b/examples/device/midi2_device/src/main.c @@ -252,7 +252,7 @@ static inline void midi1_pkt_send(uint8_t cable, uint8_t cin, (uint8_t)(((cable & 0x0F) << 4) | (cin & 0x0F)), status, data1, data2 }; - tud_midi2_packet_write(packet); + (void) tud_midi2_packet_write(packet, 1); } static inline void midi1_pkt_note_on(uint8_t cable, uint8_t channel, |
