Explorar el Código

Use isochronous adaptive mode for audio transmit

teensy4-core
PaulStoffregen hace 8 años
padre
commit
e0e04e7e07
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      teensy3/usb_desc.c

+ 1
- 1
teensy3/usb_desc.c Ver fichero

9, // bLength 9, // bLength
5, // bDescriptorType, 5 = ENDPOINT_DESCRIPTOR 5, // bDescriptorType, 5 = ENDPOINT_DESCRIPTOR
AUDIO_TX_ENDPOINT | 0x80, // bEndpointAddress AUDIO_TX_ENDPOINT | 0x80, // bEndpointAddress
0x05, // bmAttributes = isochronous, asynchronous
0x09, // bmAttributes = isochronous, adaptive
LSB(AUDIO_TX_SIZE), MSB(AUDIO_TX_SIZE), // wMaxPacketSize LSB(AUDIO_TX_SIZE), MSB(AUDIO_TX_SIZE), // wMaxPacketSize
1, // bInterval, 1 = every frame 1, // bInterval, 1 = every frame
0, // bRefresh 0, // bRefresh

Cargando…
Cancelar
Guardar