format code according to conventions [skip ci]

This commit is contained in:
QMK Bot 2020-02-21 11:04:05 +00:00
parent 1751c3cc25
commit a7d859dab8

View file

@ -93,7 +93,7 @@ void uart_putchar(uint8_t c) {
i = tx_buffer_head + 1;
if (i >= TX_BUFFER_SIZE) i = 0;
// return immediately to avoid deadlock when interrupt is disabled(called from ISR)
if (tx_buffer_tail == i && (SREG & (1<<SREG_I)) == 0) return;
if (tx_buffer_tail == i && (SREG & (1 << SREG_I)) == 0) return;
while (tx_buffer_tail == i)
; // wait until space in buffer
// cli();