Keep "astyled" elements in MarlinSerial.*
This commit is contained in:
@@ -102,7 +102,8 @@ void MarlinSerial::end() {
|
||||
int MarlinSerial::peek(void) {
|
||||
if (rx_buffer.head == rx_buffer.tail) {
|
||||
return -1;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
return rx_buffer.buffer[rx_buffer.tail];
|
||||
}
|
||||
}
|
||||
@@ -162,7 +163,8 @@ void MarlinSerial::print(long n, int base) {
|
||||
n = -n;
|
||||
}
|
||||
printNumber(n, 10);
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
printNumber(n, base);
|
||||
}
|
||||
}
|
||||
|
@@ -99,7 +99,6 @@ class MarlinSerial { //: public Stream
|
||||
FORCE_INLINE void write(uint8_t c) {
|
||||
while (!TEST(M_UCSRxA, M_UDREx))
|
||||
;
|
||||
|
||||
M_UDRx = c;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user