aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/xt_interrupt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/xt_interrupt.c')
-rw-r--r--tmk_core/protocol/xt_interrupt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/protocol/xt_interrupt.c b/tmk_core/protocol/xt_interrupt.c
index 3dd7e6177..ba9d71848 100644
--- a/tmk_core/protocol/xt_interrupt.c
+++ b/tmk_core/protocol/xt_interrupt.c
@@ -119,9 +119,9 @@ ISR(XT_INT_VECT) {
119 * Ring buffer to store scan codes from keyboard 119 * Ring buffer to store scan codes from keyboard
120 *------------------------------------------------------------------*/ 120 *------------------------------------------------------------------*/
121#define PBUF_SIZE 32 121#define PBUF_SIZE 32
122static uint8_t pbuf[PBUF_SIZE]; 122static uint8_t pbuf[PBUF_SIZE];
123static uint8_t pbuf_head = 0; 123static uint8_t pbuf_head = 0;
124static uint8_t pbuf_tail = 0; 124static uint8_t pbuf_tail = 0;
125 125
126static inline void pbuf_enqueue(uint8_t data) { 126static inline void pbuf_enqueue(uint8_t data) {
127 uint8_t sreg = SREG; 127 uint8_t sreg = SREG;