aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr
diff options
context:
space:
mode:
Diffstat (limited to 'src/avr')
-rw-r--r--src/avr/serial.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/avr/serial.c b/src/avr/serial.c
index c1882a5d..bd92f048 100644
--- a/src/avr/serial.c
+++ b/src/avr/serial.c
@@ -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;