Browse Source

Don't reference non-existant usb string descriptor

fixes #293, fixes #414
main
PaulStoffregen 4 years ago
parent
commit
d9fe2d70a4
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

0x02, // bFunctionClass 0x02, // bFunctionClass
0x02, // bFunctionSubClass 0x02, // bFunctionSubClass
0x01, // bFunctionProtocol 0x01, // bFunctionProtocol
4, // iFunction
0, // iFunction
#endif #endif


#ifdef CDC_DATA_INTERFACE #ifdef CDC_DATA_INTERFACE

+ 2
- 2
teensy4/usb_desc.c View File

0x02, // bFunctionClass 0x02, // bFunctionClass
0x02, // bFunctionSubClass 0x02, // bFunctionSubClass
0x01, // bFunctionProtocol 0x01, // bFunctionProtocol
4, // iFunction
0, // iFunction
#endif #endif


#ifdef CDC_DATA_INTERFACE #ifdef CDC_DATA_INTERFACE
0x02, // bFunctionClass 0x02, // bFunctionClass
0x02, // bFunctionSubClass 0x02, // bFunctionSubClass
0x01, // bFunctionProtocol 0x01, // bFunctionProtocol
4, // iFunction
0, // iFunction
#endif #endif


#ifdef CDC_DATA_INTERFACE #ifdef CDC_DATA_INTERFACE

Loading…
Cancel
Save