Add MIDI class driver, update MIDI device demo to use the new USB class driver. All device demos/projects have now been converted to the new library class drivers, although documentation is yet to be completed.

This commit is contained in:
Dean Camera 2009-06-01 12:01:53 +00:00
parent d1e5266036
commit 74b7c07e96
13 changed files with 622 additions and 794 deletions

View file

@ -35,8 +35,8 @@ void USB_Audio_ProcessControlPacket(USB_ClassInfo_Audio_t* AudioInterfaceInfo)
if (!(Endpoint_IsSETUPReceived()))
return;
// if (USB_ControlRequest.wIndex != AudioInterfaceInfo->InterfaceNumber)
// return;
if (USB_ControlRequest.wIndex != AudioInterfaceInfo->InterfaceNumber)
return;
switch (USB_ControlRequest.bRequest)
{