Ensure all USB device class drivers have the same three main functions as their interface for consistency.
This commit is contained in:
parent
a67bd74e3e
commit
4897ef8972
6 changed files with 25 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue