mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
a374e8b766
Before, the UMSELn1 bit was being to set to 1, putting the UART into a reserved mode. Now, we only set the high (0x80) bit to 1 for the ATmega8, which is needed to access UCSRnC (whose i/o address is shared with UBRRH). Also, no longer bitwise-or the new config with the existing register value, because we're actually configuring all the settings in the register. (We're not using UCPOL, but it's supposed to be 0 in asynchronous mode.) |
||
---|---|---|
.. | ||
arduino |