Browse Source

Use isochronous adaptive mode for audio transmit

main
PaulStoffregen 7 years ago
parent
commit
e0e04e7e07
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy3/usb_desc.c

+ 1
- 1
teensy3/usb_desc.c View File

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

Loading…
Cancel
Save