diff options
author | Alarus <alarus@qip.ru> | 2012-08-12 22:07:42 +0600 |
---|---|---|
committer | Alarus <alarus@qip.ru> | 2012-08-12 22:07:42 +0600 |
commit | 0c0defa64508ba497e7196230befb2e08b602fc0 (patch) | |
tree | 65a045cde9ec9202bb2ab12ae8512631fc971d16 /cores | |
parent | ed699cf636cfe2e269ef901f3762b213cf46632f (diff) |
Update hardware/arduino/cores/arduino/HardwareSerial.cpp
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
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 7edfa84..2307735 100644 --- a/cores/arduino/HardwareSerial.cpp +++ b/cores/arduino/HardwareSerial.cpp @@ -434,7 +434,7 @@ try_again: { config_setting |= B10000000; } - *_ucsrc = config_setting + *_ucsrc = config_setting; sbi(*_ucsrb, _rxen); sbi(*_ucsrb, _txen); |