Browse Source

Use isochronous adaptive mode for audio transmit

teensy4-core
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

@@ -1131,7 +1131,7 @@ static uint8_t config_descriptor[CONFIG_DESC_SIZE] = {
9, // bLength
5, // bDescriptorType, 5 = ENDPOINT_DESCRIPTOR
AUDIO_TX_ENDPOINT | 0x80, // bEndpointAddress
0x05, // bmAttributes = isochronous, asynchronous
0x09, // bmAttributes = isochronous, adaptive
LSB(AUDIO_TX_SIZE), MSB(AUDIO_TX_SIZE), // wMaxPacketSize
1, // bInterval, 1 = every frame
0, // bRefresh

Loading…
Cancel
Save