From 0c0defa64508ba497e7196230befb2e08b602fc0 Mon Sep 17 00:00:00 2001 From: Alarus Date: Sun, 12 Aug 2012 22:07:42 +0600 Subject: Update hardware/arduino/cores/arduino/HardwareSerial.cpp Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits. --- cores/arduino/HardwareSerial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cores/arduino/HardwareSerial.cpp') 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); -- cgit v1.2.3-18-g5258