1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

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 7dd9f81f39
commit cd7196c592
2 changed files with 4 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;
};