Skip to content

Commit 6a35a5b

Browse files
author
Alarus
committed
Update hardware/arduino/cores/arduino/HardwareSerial.cpp
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
1 parent 8683fe9 commit 6a35a5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/arduino/cores/arduino/HardwareSerial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ void HardwareSerial::begin(unsigned long baud, byte databits, char parity, byte
434434
{
435435
config_setting |= B10000000;
436436
}
437-
*_ucsrc = config_setting
437+
*_ucsrc = config_setting;
438438

439439
sbi(*_ucsrb, _rxen);
440440
sbi(*_ucsrb, _txen);

0 commit comments

Comments
 (0)