Explorar el Código

Don't reference non-existant usb string descriptor

fixes #293, fixes #414
main
PaulStoffregen hace 5 años
padre
commit
d9fe2d70a4
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. +1
    -1
      teensy3/usb_desc.c
  2. +2
    -2
      teensy4/usb_desc.c

+ 1
- 1
teensy3/usb_desc.c Ver fichero

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 Ver fichero

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

Cargando…
Cancelar
Guardar