Explorar el Código

Fix MIDI MS Interface Header wTotalLength (thanks Lauszus)

teensy4-core
PaulStoffregen hace 7 años
padre
commit
6d49f67650
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      teensy3/usb_desc.c

+ 1
- 1
teensy3/usb_desc.c Ver fichero

@@ -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

Cargando…
Cancelar
Guardar