소스 검색

Increase buffer size of PS2 protocol

tags/v1.9
tmk 11 년 전
부모
커밋
7343366d3d
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      protocol/ps2.c
  2. 1
    1
      protocol/ps2_usart.c

+ 1
- 1
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;

+ 1
- 1
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;

Loading…
취소
저장