1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-09 22:24:14 +03:00

Merge pull request #1835 from ribbons/hardwareserial-warning

Reorder HardwareSerial initialisation list to fix compiler warnings
This commit is contained in:
Cristian Maglie
2014-01-29 12:44:55 -08:00

View File

@@ -63,8 +63,8 @@ HardwareSerial::HardwareSerial(
_ubrrh(ubrrh), _ubrrl(ubrrl),
_ucsra(ucsra), _ucsrb(ucsrb), _ucsrc(ucsrc),
_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)
{
}