USB Composite support

Dependents:   mbed_cdc_hid_composite

Fork of USBDevice by mbed official

Revision:
38:dfe51ad5cacf
Parent:
28:c09a0c9bf425
Child:
39:1dbc943a21cf
--- a/USBDevice/USBDevice.cpp	Wed Nov 19 09:00:30 2014 +0000
+++ b/USBDevice/USBDevice.cpp	Fri Nov 28 07:15:18 2014 +0000
@@ -187,7 +187,7 @@
     /* Check we should be transferring data OUT */
     if (transfer.direction != HOST_TO_DEVICE)
     {
-#if defined(TARGET_KL25Z) | defined(TARGET_KL46Z) | defined(TARGET_K20D5M) | defined(TARGET_K64F)
+#if defined(TARGET_KL25Z) | defined(TARGET_KL46Z) | defined(TARGET_K20D5M) | defined(TARGET_K64F) | defined(TARGET_K22F)
         /*
          * We seem to have a pending device-to-host transfer.  The host must have
          * sent a new control request without waiting for us to finish processing