From 3ab6ea2602964738e0db7d83211962f7e9c82b21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Tue, 9 Jun 2020 01:02:28 +0200 Subject: [PATCH] uart: increase transmit buffer size for large startup setup --- lib/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/uart.c b/lib/uart.c index 4e2e15c..7b02704 100644 --- a/lib/uart.c +++ b/lib/uart.c @@ -30,7 +30,7 @@ #define UART_BAUDRATE 921600 /**< serial baud rate, in bits per second (with 8N1 8 bits, no parity bit, 1 stop bit settings) */ /* output ring buffer, indexes, and available memory */ -static volatile uint8_t tx_buffer[64] = {0}; /**< ring buffer for data to transmit */ +static volatile uint8_t tx_buffer[128] = {0}; /**< ring buffer for data to transmit */ static volatile uint16_t tx_i = 0; /**< current position of transmitted data */ static volatile uint16_t tx_used = 0; /**< how much data needs to be transmitted */