diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2009-07-12 01:58:15 +0000 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2009-07-12 01:58:15 +0000 |
commit | 2fc32fc3411472151ce5d0e19ec42440e0c8ed3d (patch) | |
tree | 76d0c7b5324a45a97c9f775941ea6dca2c90cca3 /cores/arduino/HardwareSerial.h | |
parent | 86db64db9b6b28528efbfd4dba6584bbb4461653 (diff) |
Clearing the U2Xn bit in Serial.begin() (because it is set on the Pro / Pro Mini 328). Fixing some indentation.
Diffstat (limited to 'cores/arduino/HardwareSerial.h')
-rwxr-xr-x | cores/arduino/HardwareSerial.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/HardwareSerial.h b/cores/arduino/HardwareSerial.h index 8610f5a..f975ccd 100755 --- a/cores/arduino/HardwareSerial.h +++ b/cores/arduino/HardwareSerial.h @@ -39,12 +39,13 @@ class HardwareSerial : public Print uint8_t _txen; uint8_t _rxcie; uint8_t _udre; + uint8_t _u2x; public: HardwareSerial(ring_buffer *rx_buffer, volatile uint8_t *ubrrh, volatile uint8_t *ubrrl, volatile uint8_t *ucsra, volatile uint8_t *ucsrb, volatile uint8_t *udr, - uint8_t rxen, uint8_t txen, uint8_t rxcie, uint8_t udre); + uint8_t rxen, uint8_t txen, uint8_t rxcie, uint8_t udre, uint8_t u2x); void begin(long); uint8_t available(void); int read(void); @@ -62,4 +63,3 @@ extern HardwareSerial Serial3; #endif #endif - |