serial: Increase AVR serial receive buffer

Increase the size of the serial receive buffer.  With transmit rates
of 250000 baud, it only takes a little over a millisecond to overflow
the existing buffer.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor committed 2016-10-18 15:01:29 -04:00
1 parent 977aabe038
commit 8be8cb7a91
1 file changed
+2 -3
+2 -3
View File
@@ -12,10 +12,9 @@
#include "sched.h" // DECL_INIT
#include "irq.h" // irq_save
#define SERIAL_BUFFER_SIZE 96
static char receive_buf[SERIAL_BUFFER_SIZE];
static char receive_buf[192];
static uint8_t receive_pos;
static char transmit_buf[SERIAL_BUFFER_SIZE];
static char transmit_buf[96];
static uint8_t transmit_pos, transmit_max;