mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-10 21:24:12 +01:00
Merge pull request #1835 from ribbons/hardwareserial-warning
Reorder HardwareSerial initialisation list to fix compiler warnings
This commit is contained in:
commit
5cf8671b4a
@ -63,8 +63,8 @@ HardwareSerial::HardwareSerial(
|
|||||||
_ubrrh(ubrrh), _ubrrl(ubrrl),
|
_ubrrh(ubrrh), _ubrrl(ubrrl),
|
||||||
_ucsra(ucsra), _ucsrb(ucsrb), _ucsrc(ucsrc),
|
_ucsra(ucsra), _ucsrb(ucsrb), _ucsrc(ucsrc),
|
||||||
_udr(udr),
|
_udr(udr),
|
||||||
_tx_buffer_head(0), _tx_buffer_tail(0),
|
_rx_buffer_head(0), _rx_buffer_tail(0),
|
||||||
_rx_buffer_head(0), _rx_buffer_tail(0)
|
_tx_buffer_head(0), _tx_buffer_tail(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user