parent
c22caea21f
commit
eb45bb95e0
|
@ -91,7 +91,7 @@ inline void store_char(unsigned char c, HardwareSerial *s)
|
||||||
#elif defined(UDR)
|
#elif defined(UDR)
|
||||||
if (bit_is_clear(UCSRA, PE)) {
|
if (bit_is_clear(UCSRA, PE)) {
|
||||||
unsigned char c = UDR;
|
unsigned char c = UDR;
|
||||||
store_char(c, &rx_buffer);
|
store_char(c, &Serial);
|
||||||
} else {
|
} else {
|
||||||
unsigned char c = UDR;
|
unsigned char c = UDR;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue