core: Increase buffer size for sotware serial

- serial_mouse can lost mouse data when enabling debug print
- TODO: serial_soft blocks in ISR for too long time
This commit is contained in:
tmk 2022-06-03 23:32:43 +09:00
parent af424396e1
commit 4d32fbadb6

View file

@ -86,7 +86,9 @@ void serial_init(void)
}
/* RX ring buffer */
#define RBUF_SIZE 8
#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;