Ensure each serial port has enough buffer space to write out the largest

MSP response.
This commit is contained in:
Dominic Clifton 2014-10-29 00:52:00 +00:00
parent 6dde141b66
commit d76a414985
1 changed files with 4 additions and 4 deletions

View File

@ -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;