~ruther/qmk_firmware

9807225f90523d51eaf518b20e4d524dc0bb3ec6 — github-actions[bot] 4 years ago 9331c22
[CI] Format code according to conventions (#12277)

Co-authored-by: QMK Bot <hello@qmk.fm>
2 files changed, 4 insertions(+), 4 deletions(-)

M tmk_core/protocol/xt.h
M tmk_core/protocol/xt_interrupt.c
M tmk_core/protocol/xt.h => tmk_core/protocol/xt.h +1 -1
@@ 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);

M tmk_core/protocol/xt_interrupt.c => tmk_core/protocol/xt_interrupt.c +3 -3
@@ 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;