aboutsummaryrefslogtreecommitdiff
path: root/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'protocol')
-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 cf7b1f43c..ed4560910 100644
--- a/protocol/ps2.c
+++ b/protocol/ps2.c
@@ -181,7 +181,7 @@ uint8_t ps2_host_recv(void)
181} 181}
182#else 182#else
183/* ring buffer to store ps/2 key data */ 183/* ring buffer to store ps/2 key data */
184#define PBUF_SIZE 8 184#define PBUF_SIZE 32
185static uint8_t pbuf[PBUF_SIZE]; 185static uint8_t pbuf[PBUF_SIZE];
186static uint8_t pbuf_head = 0; 186static uint8_t pbuf_head = 0;
187static uint8_t pbuf_tail = 0; 187static uint8_t pbuf_tail = 0;
diff --git a/protocol/ps2_usart.c b/protocol/ps2_usart.c
index 7d591c650..9ea6b7786 100644
--- a/protocol/ps2_usart.c
+++ b/protocol/ps2_usart.c
@@ -287,7 +287,7 @@ static inline void inhibit(void)
287/*-------------------------------------------------------------------- 287/*--------------------------------------------------------------------
288 * Ring buffer to store scan codes from keyboard 288 * Ring buffer to store scan codes from keyboard
289 *------------------------------------------------------------------*/ 289 *------------------------------------------------------------------*/
290#define PBUF_SIZE 8 290#define PBUF_SIZE 32
291static uint8_t pbuf[PBUF_SIZE]; 291static uint8_t pbuf[PBUF_SIZE];
292static uint8_t pbuf_head = 0; 292static uint8_t pbuf_head = 0;
293static uint8_t pbuf_tail = 0; 293static uint8_t pbuf_tail = 0;