summaryrefslogtreecommitdiff
path: root/protocol/ps2_usart.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-05-04 14:51:46 +0900
committertmk <nobody@nowhere>2013-05-04 14:51:46 +0900
commit7343366d3d962ae1fa8cd3b280f7702396337dbf (patch)
treef305e40541cbb4bdeb3cb582e2f2cb24efedb24b /protocol/ps2_usart.c
parent95001dd6e43645ba7b6d586c6af8d5c421a569fb (diff)
Increase buffer size of PS2 protocol
Diffstat (limited to 'protocol/ps2_usart.c')
-rw-r--r--protocol/ps2_usart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocol/ps2_usart.c b/protocol/ps2_usart.c
index 7d591c6506..9ea6b77868 100644
--- a/protocol/ps2_usart.c
+++ b/protocol/ps2_usart.c
@@ -287,7 +287,7 @@ static inline void inhibit(void)
/*--------------------------------------------------------------------
* Ring buffer to store scan codes from keyboard
*------------------------------------------------------------------*/
-#define PBUF_SIZE 8
+#define PBUF_SIZE 32
static uint8_t pbuf[PBUF_SIZE];
static uint8_t pbuf_head = 0;
static uint8_t pbuf_tail = 0;