ソースを参照

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

main
PaulStoffregen 6年前
コミット
d4d59c98b7
2個のファイルの変更3行の追加3行の削除
  1. +1
    -1
      teensy3/usb_desc.c
  2. +2
    -2
      teensy4/usb_desc.c

+ 1
- 1
teensy3/usb_desc.c ファイルの表示

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 ファイルの表示

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

読み込み中…
キャンセル
保存