diff options
author | Cristian Maglie <c.maglie@bug.st> | 2013-09-09 11:54:00 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2013-09-09 13:09:27 +0200 |
commit | eb45bb95e0141a52bbb290d841aa1e42127519ce (patch) | |
tree | 8df1c8321a94e5c3a7fa2f6a09c97383e8bc15cd /cores | |
parent | c22caea21fe60da53938fd3e9a8619c5e0d9f2ae (diff) |
Fixed HardwareSerial bug introduced in 1.5.3.
Fixes #1568
Diffstat (limited to 'cores')
-rw-r--r-- | cores/arduino/HardwareSerial.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; |