~ruther/qmk_firmware

7343366d3d962ae1fa8cd3b280f7702396337dbf — tmk 12 years ago 95001dd
Increase buffer size of PS2 protocol
2 files changed, 2 insertions(+), 2 deletions(-)

M protocol/ps2.c
M protocol/ps2_usart.c
M protocol/ps2.c => protocol/ps2.c +1 -1
@@ 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;

M protocol/ps2_usart.c => protocol/ps2_usart.c +1 -1
@@ 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;