MarlinSerial.cpp formatting tweak

This commit is contained in:
Scott Lahteine committed 2018-06-08 19:53:39 -05:00
1 parent 7aa7ecbd0e
commit 1dd4e63402
1 file changed
+3 -1
+3 -1
View File
@@ -262,7 +262,9 @@
const bool isr_enabled = TEST(M_UCSRxB, M_RXCIEx);
CBI(M_UCSRxB, M_RXCIEx);
#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
// Reenable RX interrupts if they were enabled
if (isr_enabled) SBI(M_UCSRxB, M_RXCIEx);