From 685b1450f6ebc39b8dbb42861a1c0ae5c605b230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Mon, 7 Dec 2020 19:08:32 +0100 Subject: [PATCH] usb_cdcacm: increase buffer size for project --- lib/usb_cdcacm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/usb_cdcacm.c b/lib/usb_cdcacm.c index 6516e5a..7e2f0b8 100644 --- a/lib/usb_cdcacm.c +++ b/lib/usb_cdcacm.c @@ -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 */