Merge remote-tracking branch 'origin/develop' into xap

This commit is contained in:
QMK Bot 2024-03-29 03:41:31 +00:00
commit b7285db208
2 changed files with 0 additions and 16 deletions

View File

@ -70,10 +70,6 @@ host_driver_t chibios_driver = {keyboard_leds, send_keyboard, send_nkro, send_mo
void virtser_task(void);
#endif
#ifdef MIDI_ENABLE
void midi_ep_task(void);
#endif
/* TESTING
* Amber LED blinker thread, times are in milliseconds.
*/
@ -202,9 +198,6 @@ void protocol_pre_task(void) {
}
void protocol_post_task(void) {
#ifdef MIDI_ENABLE
midi_ep_task();
#endif
#ifdef VIRTSER_ENABLE
virtser_task();
#endif

View File

@ -624,15 +624,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