From 9807225f90523d51eaf518b20e4d524dc0bb3ec6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 18 Mar 2021 12:28:50 +1100 Subject: [PATCH] [CI] Format code according to conventions (#12277) Co-authored-by: QMK Bot --- tmk_core/protocol/xt.h | 2 +- tmk_core/protocol/xt_interrupt.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tmk_core/protocol/xt.h b/tmk_core/protocol/xt.h index cc55b7dbc..538ff0e45 100644 --- a/tmk_core/protocol/xt.h +++ b/tmk_core/protocol/xt.h @@ -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); 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) { * 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;