Fixed HardwareSerial bug introduced in 1.5.3.

Fixes #1568
This commit is contained in:
Cristian Maglie 2013-09-09 11:54:00 +02:00
parent c22caea21f
commit eb45bb95e0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
};