mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Ensure all USB device class drivers have the same three main functions as their interface for consistency.
This commit is contained in:
@@ -30,6 +30,11 @@
|
||||
|
||||
#include "MIDI.h"
|
||||
|
||||
void USB_MIDI_ProcessControlPacket(USB_ClassInfo_MIDI_t* MIDIInterfaceInfo)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool USB_MIDI_ConfigureEndpoints(USB_ClassInfo_MIDI_t* MIDIInterfaceInfo)
|
||||
{
|
||||
if (MIDIInterfaceInfo->DataINEndpointNumber)
|
||||
@@ -55,6 +60,11 @@ bool USB_MIDI_ConfigureEndpoints(USB_ClassInfo_MIDI_t* MIDIInterfaceInfo)
|
||||
return true;
|
||||
}
|
||||
|
||||
void USB_MIDI_USBTask(USB_ClassInfo_MIDI_t* MIDIInterfaceInfo)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void USB_MIDI_SendEventPacket(USB_ClassInfo_MIDI_t* MIDIInterfaceInfo, USB_MIDI_EventPacket_t* Event)
|
||||
{
|
||||
if (!(USB_IsConnected))
|
||||
|
||||
Reference in New Issue
Block a user