Browse Source

Fix USB Midi 16 serial audio descriptor

teensy4-core
widdly 4 years ago
parent
commit
b351a2ce73
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      teensy4/usb_desc.h

+ 3
- 3
teensy4/usb_desc.h View File

#define CDC_TX_SIZE_480 512 #define CDC_TX_SIZE_480 512
#define CDC_RX_SIZE_12 64 #define CDC_RX_SIZE_12 64
#define CDC_TX_SIZE_12 64 #define CDC_TX_SIZE_12 64
#define MIDI_INTERFACE 1 // MIDI
#define MIDI_NUM_CABLES 1
#define MIDI_INTERFACE 2 // MIDI
#define MIDI_NUM_CABLES 16
#define MIDI_TX_ENDPOINT 4 #define MIDI_TX_ENDPOINT 4
#define MIDI_TX_SIZE_12 64 #define MIDI_TX_SIZE_12 64
#define MIDI_TX_SIZE_480 512 #define MIDI_TX_SIZE_480 512
#define MIDI_RX_ENDPOINT 4 #define MIDI_RX_ENDPOINT 4
#define MIDI_RX_SIZE_12 64 #define MIDI_RX_SIZE_12 64
#define MIDI_RX_SIZE_480 512 #define MIDI_RX_SIZE_480 512
#define AUDIO_INTERFACE 2 // Audio (uses 3 consecutive interfaces)
#define AUDIO_INTERFACE 3 // Audio (uses 3 consecutive interfaces)
#define AUDIO_TX_ENDPOINT 5 #define AUDIO_TX_ENDPOINT 5
#define AUDIO_TX_SIZE 180 #define AUDIO_TX_SIZE 180
#define AUDIO_RX_ENDPOINT 5 #define AUDIO_RX_ENDPOINT 5

Loading…
Cancel
Save