From aec62a2de3fef8c1528cc549ab4a1454c852f4ee Mon Sep 17 00:00:00 2001 From: Russell Date: Thu, 27 Oct 2011 15:02:38 +0100 Subject: [PATCH] Attempt to fix non continuous interface number issue. --- module_usb_aud_shared/endpoint0/descriptors_2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_usb_aud_shared/endpoint0/descriptors_2.h b/module_usb_aud_shared/endpoint0/descriptors_2.h index be904912..4debf7af 100644 --- a/module_usb_aud_shared/endpoint0/descriptors_2.h +++ b/module_usb_aud_shared/endpoint0/descriptors_2.h @@ -1086,7 +1086,7 @@ unsigned char cfgDesc_Audio2[] = /* Interface descriptor */ 0x09, /* 0 bLength : Size of this descriptor, in bytes. (field size 1 bytes) */ 0x04, /* 1 bDescriptorType : INTERFACE descriptor. (field size 1 bytes) */ - (INPUT_INTERFACES+OUTPUT_INTERFACES+MIDI_INTERFACES+1+1), /* 2 bInterfaceNumber : Index of this interface. (field size 1 bytes) */ + (INPUT_INTERFACES+OUTPUT_INTERFACES+MIDI_INTERFACES+DFU_INTERFACES+1), /* 2 bInterfaceNumber : Index of this interface. (field size 1 bytes) */ 0x00, /* 3 bAlternateSetting : Index of this setting. (field size 1 bytes) */ 0x03, /* 4 bNumEndpoints : 0 endpoints. (field size 1 bytes) */ 0xFF, /* 5 bInterfaceClass : DFU. (field size 1 bytes) */