Browse Source

Don't reference even more non-existant usb string descriptors

teensy4-core
PaulStoffregen 5 years ago
parent
commit
d4d59c98b7
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      teensy3/usb_desc.c
  2. +2
    -2
      teensy4/usb_desc.c

+ 1
- 1
teensy3/usb_desc.c View File

0x06, // bInterfaceClass (0x06 = still image) 0x06, // bInterfaceClass (0x06 = still image)
0x01, // bInterfaceSubClass 0x01, // bInterfaceSubClass
0x01, // bInterfaceProtocol 0x01, // bInterfaceProtocol
4, // iInterface
0, // iInterface
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 // endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13
7, // bLength 7, // bLength
5, // bDescriptorType 5, // bDescriptorType

+ 2
- 2
teensy4/usb_desc.c View File

0x06, // bInterfaceClass (0x06 = still image) 0x06, // bInterfaceClass (0x06 = still image)
0x01, // bInterfaceSubClass 0x01, // bInterfaceSubClass
0x01, // bInterfaceProtocol 0x01, // bInterfaceProtocol
4, // iInterface
0, // iInterface
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 // endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13
7, // bLength 7, // bLength
5, // bDescriptorType 5, // bDescriptorType
0x06, // bInterfaceClass (0x06 = still image) 0x06, // bInterfaceClass (0x06 = still image)
0x01, // bInterfaceSubClass 0x01, // bInterfaceSubClass
0x01, // bInterfaceProtocol 0x01, // bInterfaceProtocol
4, // iInterface
0, // iInterface
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 // endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13
7, // bLength 7, // bLength
5, // bDescriptorType 5, // bDescriptorType

Loading…
Cancel
Save