Update hardware/arduino/cores/arduino/HardwareSerial.cpp
Adding advanced begin (); with the ability to specify the length of bits, parity, stop bits.
This commit is contained in:
parent
ed699cf636
commit
0c0defa645
|
@ -434,7 +434,7 @@ try_again:
|
||||||
{
|
{
|
||||||
config_setting |= B10000000;
|
config_setting |= B10000000;
|
||||||
}
|
}
|
||||||
*_ucsrc = config_setting
|
*_ucsrc = config_setting;
|
||||||
|
|
||||||
sbi(*_ucsrb, _rxen);
|
sbi(*_ucsrb, _rxen);
|
||||||
sbi(*_ucsrb, _txen);
|
sbi(*_ucsrb, _txen);
|
||||||
|
|
Loading…
Reference in New Issue