usb_cdcacm: increase buffer size for project

This commit is contained in:
King Kévin 2020-12-07 19:08:32 +01:00
parent 2120adb231
commit 685b1450f6
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ static usbd_device *usb_device = NULL; /**< structure holding all the info relat
static volatile bool first_connection = false; /**< used to detect when the first connection occurred */
/* output ring buffer, index, and available memory */
static uint8_t tx_buffer[256] = {0}; /**< ring buffer for data to transmit */
static uint8_t tx_buffer[1024] = {0}; /**< ring buffer for data to transmit */
static volatile uint16_t tx_i = 0; /**< current position if transmitted data */
static volatile uint16_t tx_used = 0; /**< how much data needs to be transmitted */
static volatile bool tx_lock = false; /**< if the transmit buffer is currently being written */