Browse Source

Merge remote-tracking branch 'origin/master' into develop

pull/12286/head
QMK Bot 3 years ago
parent
commit
af5c10ef0c
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      tmk_core/protocol/xt.h
  2. +3
    -3
      tmk_core/protocol/xt_interrupt.c

+ 1
- 1
tmk_core/protocol/xt.h View File

@ -68,6 +68,6 @@ POSSIBILITY OF SUCH DAMAGE.
setPinOutput(XT_CLOCK_PIN); \
} while (0)
void xt_host_init(void);
void xt_host_init(void);
uint8_t xt_host_recv(void);

+ 3
- 3
tmk_core/protocol/xt_interrupt.c View File

@ -119,9 +119,9 @@ ISR(XT_INT_VECT) {
* Ring buffer to store scan codes from keyboard
*------------------------------------------------------------------*/
#define PBUF_SIZE 32
static uint8_t pbuf[PBUF_SIZE];
static uint8_t pbuf_head = 0;
static uint8_t pbuf_tail = 0;
static uint8_t pbuf[PBUF_SIZE];
static uint8_t pbuf_head = 0;
static uint8_t pbuf_tail = 0;
static inline void pbuf_enqueue(uint8_t data) {
uint8_t sreg = SREG;


Loading…
Cancel
Save