]> git.tdb.fi Git - model-railway-devices.git/commit
Set UCSR0A in serial_init
authorMikko Rasa <tdb@tdb.fi>
Sat, 18 May 2013 15:55:21 +0000 (18:55 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 18 May 2013 15:55:21 +0000 (18:55 +0300)
commit2658995b11690b4d54409eb066020aba17395680
tree906171850be464287079f98be8d1e042f411332f
parente511adf9fe534ee414427705745d6c85d205566e
Set UCSR0A in serial_init

It contains the U2X0 bit, which must be cleared to get the desired
bitrate.  Some versions of the Arduino bootloader appear to leave it
set.
common/serial.c