소스 검색

Fix MIDI MS Interface Header wTotalLength (thanks Lauszus)

teensy4-core
PaulStoffregen 7 년 전
부모
커밋
6d49f67650
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      teensy3/usb_desc.c

+ 1
- 1
teensy3/usb_desc.c 파일 보기

@@ -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…
취소
저장