Browse Source

T4 USB serial receive buffer defaults to 4096 bytes

main
PaulStoffregen 5 years ago
parent
commit
3ad45ddaf9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      teensy4/usb_serial.c

+ 1
- 1
teensy4/usb_serial.c View File

static uint16_t tx_available=0; static uint16_t tx_available=0;
static uint16_t tx_packet_size=0; static uint16_t tx_packet_size=0;


#define RX_NUM 3
#define RX_NUM 8
static transfer_t rx_transfer[RX_NUM] __attribute__ ((used, aligned(32))); static transfer_t rx_transfer[RX_NUM] __attribute__ ((used, aligned(32)));
DMAMEM static uint8_t rx_buffer[RX_NUM * CDC_RX_SIZE_480] __attribute__ ((aligned(32))); DMAMEM static uint8_t rx_buffer[RX_NUM * CDC_RX_SIZE_480] __attribute__ ((aligned(32)));
static uint16_t rx_count[RX_NUM]; static uint16_t rx_count[RX_NUM];

Loading…
Cancel
Save