diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-03-18 12:28:50 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 12:28:50 +1100 |
commit | 9807225f90523d51eaf518b20e4d524dc0bb3ec6 (patch) | |
tree | f6a99d2ade820de1e3d0c6a4ac8e9620b5cc32f5 | |
parent | 9331c22620fb9a4012a370d717e6362a5ab84ec4 (diff) | |
download | qmk_firmware-9807225f90523d51eaf518b20e4d524dc0bb3ec6.tar.gz qmk_firmware-9807225f90523d51eaf518b20e4d524dc0bb3ec6.zip |
[CI] Format code according to conventions (#12277)
Co-authored-by: QMK Bot <hello@qmk.fm>
-rw-r--r-- | tmk_core/protocol/xt.h | 2 | ||||
-rw-r--r-- | 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. | |||
68 | setPinOutput(XT_CLOCK_PIN); \ | 68 | setPinOutput(XT_CLOCK_PIN); \ |
69 | } while (0) | 69 | } while (0) |
70 | 70 | ||
71 | void xt_host_init(void); | 71 | void xt_host_init(void); |
72 | 72 | ||
73 | uint8_t xt_host_recv(void); | 73 | 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) { | |||
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 |
122 | static uint8_t pbuf[PBUF_SIZE]; | 122 | static uint8_t pbuf[PBUF_SIZE]; |
123 | static uint8_t pbuf_head = 0; | 123 | static uint8_t pbuf_head = 0; |
124 | static uint8_t pbuf_tail = 0; | 124 | static uint8_t pbuf_tail = 0; |
125 | 125 | ||
126 | static inline void pbuf_enqueue(uint8_t data) { | 126 | static inline void pbuf_enqueue(uint8_t data) { |
127 | uint8_t sreg = SREG; | 127 | uint8_t sreg = SREG; |