[2.0.x] fix indentations (#10934)
This commit is contained in:
parent
d550da084f
commit
c9d1a620d4
@ -270,7 +270,9 @@
|
|||||||
const bool isr_enabled = TEST(M_UCSRxB, M_RXCIEx);
|
const bool isr_enabled = TEST(M_UCSRxB, M_RXCIEx);
|
||||||
CBI(M_UCSRxB, M_RXCIEx);
|
CBI(M_UCSRxB, M_RXCIEx);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const int v = rx_buffer.head == rx_buffer.tail ? -1 : rx_buffer.buffer[rx_buffer.tail];
|
const int v = rx_buffer.head == rx_buffer.tail ? -1 : rx_buffer.buffer[rx_buffer.tail];
|
||||||
|
|
||||||
#if RX_BUFFER_SIZE > 256
|
#if RX_BUFFER_SIZE > 256
|
||||||
// Reenable RX interrupts if they were enabled
|
// Reenable RX interrupts if they were enabled
|
||||||
if (isr_enabled) SBI(M_UCSRxB, M_RXCIEx);
|
if (isr_enabled) SBI(M_UCSRxB, M_RXCIEx);
|
||||||
|
Loading…
Reference in New Issue
Block a user