From 0bcbae5611137e7ee7a82c52d364d3f191385ba2 Mon Sep 17 00:00:00 2001 From: Russell Date: Fri, 18 Nov 2011 09:05:51 +0000 Subject: [PATCH] [PATCH 15/19] Fixed MIDI string indices. Hex/Dec mixup (#10718) --- module_usb_aud_shared/endpoint0/descriptors_2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module_usb_aud_shared/endpoint0/descriptors_2.h b/module_usb_aud_shared/endpoint0/descriptors_2.h index 567ee1d6..d65cbcd4 100644 --- a/module_usb_aud_shared/endpoint0/descriptors_2.h +++ b/module_usb_aud_shared/endpoint0/descriptors_2.h @@ -1053,7 +1053,7 @@ unsigned char cfgDesc_Audio2[] = 0x02, /* 2 bDescriptorSubtype : MIDI_IN_JACK subtype. (field size 1 bytes) */ 0x02, /* 3 bJackType : EXTERNAL. (field size 1 bytes) */ 0x02, /* 4 bJackID : ID of this Jack. (field size 1 bytes) */ - 0x14, /* 5 iJack : Unused. (field size 1 bytes) */ + 14, /* 5 iJack : Unused. (field size 1 bytes) */ /* Table B-9: MIDI Adapter MIDI OUT Jack Descriptor (Embedded) */ 0x09, /* 0 bLength : Size of this descriptor, in bytes. (field size 1 bytes) */ @@ -1075,7 +1075,7 @@ unsigned char cfgDesc_Audio2[] = 0x01, /* 5 bNrInputPins : Number of Input Pins of this Jack. (field size 1 bytes) */ 0x01, /* 6 BaSourceID(1) : ID of the Entity to which this Pin is connected. (field size 1 bytes) */ 0x01, /* 7 BaSourcePin(1) : Output Pin number of the Entity to which this Input Pin is connected. */ - 0x13, /* 8 iJack : Unused. (field size 1 bytes) */ + 13, /* 8 iJack : Unused. (field size 1 bytes) */ /* Table B-11: MIDI Adapter Standard Bulk OUT Endpoint Descriptor */ 0x09, /* 0 bLength : Size of this descriptor, in bytes. (field size 1 bytes) */