Browse Source

Fix MIDI MS Interface Header wTotalLength (thanks Lauszus)

teensy4-core
PaulStoffregen 7 years ago
parent
commit
6d49f67650
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/usb_desc.c

+ 1
- 1
teensy3/usb_desc.c View File

@@ -679,7 +679,7 @@ static uint8_t config_descriptor[CONFIG_DESC_SIZE] = {
0x01, // bDescriptorSubtype = MS_HEADER
0x00, 0x01, // bcdMSC = revision 01.00
LSB(7+(6+6+9+9)*MIDI_NUM_CABLES), // wTotalLength
LSB(7+(6+6+9+9)*MIDI_NUM_CABLES),
MSB(7+(6+6+9+9)*MIDI_NUM_CABLES),
// MIDI IN Jack Descriptor, B.4.3, Table B-7 (embedded), page 40
6, // bLength
0x24, // bDescriptorType = CS_INTERFACE

Loading…
Cancel
Save