Skip to content

Commit 5cf8671

Browse files
committed
Merge pull request #1835 from ribbons/hardwareserial-warning
Reorder HardwareSerial initialisation list to fix compiler warnings
2 parents fbea640 + 6315177 commit 5cf8671

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: hardware/arduino/avr/cores/arduino/HardwareSerial_private.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ HardwareSerial::HardwareSerial(
6363
_ubrrh(ubrrh), _ubrrl(ubrrl),
6464
_ucsra(ucsra), _ucsrb(ucsrb), _ucsrc(ucsrc),
6565
_udr(udr),
66-
_tx_buffer_head(0), _tx_buffer_tail(0),
67-
_rx_buffer_head(0), _rx_buffer_tail(0)
66+
_rx_buffer_head(0), _rx_buffer_tail(0),
67+
_tx_buffer_head(0), _tx_buffer_tail(0)
6868
{
6969
}
7070

0 commit comments

Comments
 (0)