Browse Source

Fix usb audio interface descriptor order

main
PaulStoffregen 8 years ago
parent
commit
84fa81ab61
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      teensy3/usb_desc.h

+ 2
- 2
teensy3/usb_desc.h View File

#define NUM_ENDPOINTS 5 #define NUM_ENDPOINTS 5
#define NUM_USB_BUFFERS 16 #define NUM_USB_BUFFERS 16
#define NUM_INTERFACE 4 #define NUM_INTERFACE 4
#define SEREMU_INTERFACE 3 // Serial emulation
#define SEREMU_INTERFACE 0 // Serial emulation
#define SEREMU_TX_ENDPOINT 1 #define SEREMU_TX_ENDPOINT 1
#define SEREMU_TX_SIZE 64 #define SEREMU_TX_SIZE 64
#define SEREMU_TX_INTERVAL 1 #define SEREMU_TX_INTERVAL 1
#define SEREMU_RX_ENDPOINT 2 #define SEREMU_RX_ENDPOINT 2
#define SEREMU_RX_SIZE 32 #define SEREMU_RX_SIZE 32
#define SEREMU_RX_INTERVAL 2 #define SEREMU_RX_INTERVAL 2
#define AUDIO_INTERFACE 0 // Audio (uses 3 consecutive interfaces)
#define AUDIO_INTERFACE 1 // Audio (uses 3 consecutive interfaces)
#define AUDIO_TX_ENDPOINT 3 #define AUDIO_TX_ENDPOINT 3
#define AUDIO_TX_SIZE 180 #define AUDIO_TX_SIZE 180
#define AUDIO_RX_ENDPOINT 4 #define AUDIO_RX_ENDPOINT 4

Loading…
Cancel
Save