From eb45bb95e0141a52bbb290d841aa1e42127519ce Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Mon, 9 Sep 2013 11:54:00 +0200 Subject: Fixed HardwareSerial bug introduced in 1.5.3. Fixes #1568 --- cores/arduino/HardwareSerial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores/arduino/HardwareSerial.cpp') diff --git a/cores/arduino/HardwareSerial.cpp b/cores/arduino/HardwareSerial.cpp index e40bfbc..9a86fa0 100644 --- a/cores/arduino/HardwareSerial.cpp +++ b/cores/arduino/HardwareSerial.cpp @@ -91,7 +91,7 @@ inline void store_char(unsigned char c, HardwareSerial *s) #elif defined(UDR) if (bit_is_clear(UCSRA, PE)) { unsigned char c = UDR; - store_char(c, &rx_buffer); + store_char(c, &Serial); } else { unsigned char c = UDR; }; -- cgit v1.2.3-18-g5258