1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-19 09:42:11 +03:00

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:
Alarus
2012-08-12 22:07:42 +06:00
parent 5a420c034e
commit 655ca80b29

View File

@ -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);