From d76a4149850c854c143648cb51951798ef801790 Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Wed, 29 Oct 2014 00:52:00 +0000 Subject: [PATCH] Ensure each serial port has enough buffer space to write out the largest MSP response. --- src/main/drivers/serial_uart.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/drivers/serial_uart.h b/src/main/drivers/serial_uart.h index e66e543d5..38f2bd16e 100755 --- a/src/main/drivers/serial_uart.h +++ b/src/main/drivers/serial_uart.h @@ -21,10 +21,10 @@ // Code is optimal when buffer sizes are powers of 2 due to use of % and / operators. #define UART1_RX_BUFFER_SIZE 256 #define UART1_TX_BUFFER_SIZE 256 -#define UART2_RX_BUFFER_SIZE 128 -#define UART2_TX_BUFFER_SIZE 64 -#define UART3_RX_BUFFER_SIZE 128 -#define UART3_TX_BUFFER_SIZE 64 +#define UART2_RX_BUFFER_SIZE 256 +#define UART2_TX_BUFFER_SIZE 256 +#define UART3_RX_BUFFER_SIZE 256 +#define UART3_TX_BUFFER_SIZE 256 typedef struct { serialPort_t port;