From 42a725e355e64d170fc42738ddbb1ed1128892e9 Mon Sep 17 00:00:00 2001 From: Robin Carlier <57142648+robin-carlier@users.noreply.github.com> Date: Fri, 29 Mar 2024 04:40:41 +0100 Subject: Remove midi_ep_task from ChibiOS (#23162) Co-authored-by: Joel Challis --- tmk_core/protocol/chibios/usb_main.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'tmk_core/protocol/chibios/usb_main.c') diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c index ced5fd4fc2..2024a3bc7f 100644 --- a/tmk_core/protocol/chibios/usb_main.c +++ b/tmk_core/protocol/chibios/usb_main.c @@ -561,15 +561,6 @@ bool recv_midi_packet(MIDI_EventPacket_t *const event) { return receive_report(USB_ENDPOINT_OUT_MIDI, (uint8_t *)event, sizeof(MIDI_EventPacket_t)); } -void midi_ep_task(void) { - uint8_t buffer[MIDI_STREAM_EPSIZE]; - while (receive_report(USB_ENDPOINT_OUT_MIDI, buffer, sizeof(buffer))) { - MIDI_EventPacket_t event; - // TODO: this seems totally wrong? The midi task will never see any - // packets if we consume them here - recv_midi_packet(&event); - } -} #endif #ifdef VIRTSER_ENABLE -- cgit v1.2.3