diff options
Diffstat (limited to 'protocol')
| -rw-r--r-- | protocol/ps2.c | 2 | ||||
| -rw-r--r-- | protocol/ps2_usart.c | 2 |
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 |
| 185 | static uint8_t pbuf[PBUF_SIZE]; | 185 | static uint8_t pbuf[PBUF_SIZE]; |
| 186 | static uint8_t pbuf_head = 0; | 186 | static uint8_t pbuf_head = 0; |
| 187 | static uint8_t pbuf_tail = 0; | 187 | static 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 |
| 291 | static uint8_t pbuf[PBUF_SIZE]; | 291 | static uint8_t pbuf[PBUF_SIZE]; |
| 292 | static uint8_t pbuf_head = 0; | 292 | static uint8_t pbuf_head = 0; |
| 293 | static uint8_t pbuf_tail = 0; | 293 | static uint8_t pbuf_tail = 0; |
