Pārlūkot izejas kodu

Fix compile error with USB Serial + MIDI

teensy4-core
PaulStoffregen pirms 5 gadiem
vecāks
revīzija
bac5b587f5
1 mainītis faili ar 12 papildinājumiem un 6 dzēšanām
  1. +12
    -6
      teensy4/usb_desc.h

+ 12
- 6
teensy4/usb_desc.h Parādīt failu

#define CDC_RX_ENDPOINT 3 #define CDC_RX_ENDPOINT 3
#define CDC_TX_ENDPOINT 3 #define CDC_TX_ENDPOINT 3
#define CDC_ACM_SIZE 16 #define CDC_ACM_SIZE 16
#define CDC_RX_SIZE 64
#define CDC_TX_SIZE 64
#define CDC_RX_SIZE_480 512
#define CDC_TX_SIZE_480 512
#define CDC_RX_SIZE_12 64
#define CDC_TX_SIZE_12 64
#define MIDI_INTERFACE 2 // MIDI #define MIDI_INTERFACE 2 // MIDI
#define MIDI_NUM_CABLES 1 #define MIDI_NUM_CABLES 1
#define MIDI_TX_ENDPOINT 4 #define MIDI_TX_ENDPOINT 4
#define CDC_RX_ENDPOINT 3 #define CDC_RX_ENDPOINT 3
#define CDC_TX_ENDPOINT 3 #define CDC_TX_ENDPOINT 3
#define CDC_ACM_SIZE 16 #define CDC_ACM_SIZE 16
#define CDC_RX_SIZE 64
#define CDC_TX_SIZE 64
#define CDC_RX_SIZE_480 512
#define CDC_TX_SIZE_480 512
#define CDC_RX_SIZE_12 64
#define CDC_TX_SIZE_12 64
#define MIDI_INTERFACE 2 // MIDI #define MIDI_INTERFACE 2 // MIDI
#define MIDI_NUM_CABLES 4 #define MIDI_NUM_CABLES 4
#define MIDI_TX_ENDPOINT 4 #define MIDI_TX_ENDPOINT 4
#define CDC_RX_ENDPOINT 3 #define CDC_RX_ENDPOINT 3
#define CDC_TX_ENDPOINT 3 #define CDC_TX_ENDPOINT 3
#define CDC_ACM_SIZE 16 #define CDC_ACM_SIZE 16
#define CDC_RX_SIZE 64
#define CDC_TX_SIZE 64
#define CDC_RX_SIZE_480 512
#define CDC_TX_SIZE_480 512
#define CDC_RX_SIZE_12 64
#define CDC_TX_SIZE_12 64
#define MIDI_INTERFACE 2 // MIDI #define MIDI_INTERFACE 2 // MIDI
#define MIDI_NUM_CABLES 16 #define MIDI_NUM_CABLES 16
#define MIDI_TX_ENDPOINT 4 #define MIDI_TX_ENDPOINT 4

Notiek ielāde…
Atcelt
Saglabāt