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:
parent
af424396e1
commit
4d32fbadb6
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue