From 7fded7234b3d5e4ddcf6def171f53e750d97607a Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Thu, 22 Sep 2022 22:52:56 +0200 Subject: [PATCH] Adding extra buffer to tx. Signed-off-by: Pol Henarejos --- src/usb/usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usb/usb.c b/src/usb/usb.c index 099880f..7928f46 100644 --- a/src/usb/usb.c +++ b/src/usb/usb.c @@ -35,7 +35,7 @@ #include // Device specific functions -static uint8_t rx_buffer[4096], tx_buffer[4096]; +static uint8_t rx_buffer[4096], tx_buffer[4096+64]; static uint16_t w_offset = 0, r_offset = 0; static uint16_t w_len = 0, tx_r_offset = 0; static uint32_t timeout_counter = 0;