diff --git a/tmk_core/protocol/serial_uart.c b/tmk_core/protocol/serial_uart.c index 35df27fd..a3847c1b 100644 --- a/tmk_core/protocol/serial_uart.c +++ b/tmk_core/protocol/serial_uart.c @@ -63,7 +63,9 @@ void serial_init(void) } // RX ring buffer +#ifndef RBUF_SIZE #define RBUF_SIZE 256 +#endif static uint8_t rbuf[RBUF_SIZE]; static uint8_t rbuf_head = 0; static uint8_t rbuf_tail = 0;