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

@@ -1101,7 +1101,7 @@ static uint8_t config_descriptor[CONFIG_DESC_SIZE] = {
0x06, // bInterfaceClass (0x06 = still image)
0x01, // bInterfaceSubClass
0x01, // bInterfaceProtocol
4, // iInterface
0, // iInterface
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13
7, // bLength
5, // bDescriptorType

+ 2
- 2
teensy4/usb_desc.c View File

@@ -1128,7 +1128,7 @@ PROGMEM const uint8_t usb_config_descriptor_480[CONFIG_DESC_SIZE] = {
0x06, // bInterfaceClass (0x06 = still image)
0x01, // bInterfaceSubClass
0x01, // bInterfaceProtocol
4, // iInterface
0, // iInterface
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13
7, // bLength
5, // bDescriptorType
@@ -1962,7 +1962,7 @@ PROGMEM const uint8_t usb_config_descriptor_12[CONFIG_DESC_SIZE] = {
0x06, // bInterfaceClass (0x06 = still image)
0x01, // bInterfaceSubClass
0x01, // bInterfaceProtocol
4, // iInterface
0, // iInterface
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13
7, // bLength
5, // bDescriptorType

Loading…
Cancel
Save