summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocol/ps2.c2
-rw-r--r--protocol/ps2_usart.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocol/ps2.c b/protocol/ps2.c
index cf7b1f43ce..ed45609104 100644
--- a/protocol/ps2.c
+++ b/protocol/ps2.c
@@ -181,7 +181,7 @@ uint8_t ps2_host_recv(void)
}
#else
/* ring buffer to store ps/2 key data */
-#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;
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;