[CI] Format code according to conventions (#12277)

Co-authored-by: QMK Bot <hello@qmk.fm>
This commit is contained in:
github-actions[bot] 2021-03-18 12:28:50 +11:00 committed by GitHub
parent 9331c22620
commit 9807225f90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

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

View file

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