]> git.donarmstrong.com Git - tmk_firmware.git/blobdiff - protocol/ps2_usart.c
Increase buffer size of PS2 protocol
[tmk_firmware.git] / protocol / ps2_usart.c
index 7d591c650678bdc6f9b6376e73038385d01b8c3b..9ea6b77868b66292a7105da4e0303708a08c7074 100644 (file)
@@ -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;