aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/optiboot/optiboot_lilypad.lst
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-05-14 12:25:39 -0400
committerDavid A. Mellis <d.mellis@arduino.cc>2011-05-14 12:25:39 -0400
commitf25e71c3c1e96d50ffd5684d0409890a2378d113 (patch)
tree9c976e656cfd8c1a9bae7038541062e6f3d3d785 /bootloaders/optiboot/optiboot_lilypad.lst
parent5e721df32a49d8f74058ba0f824ffe9686a0c9d7 (diff)
Fixing 300 baud communication for serial.
Because UBBR is only 12 bits, we were overflowing it at 300 baud because of the use of the U2X bit. Now we turn off U2X if it would yield a UBBR value that would overflow. Note that this breaks 300 baud communication with the computer on the Uno and Mega 2560 because the 8U2 USB-serial firmware has this same bug (and previously they cancelled each other out). Since, however, it seems more likely that people will need to use 300 baud to communicate with other (legacy) hardware than with the computer, I'm making this change. Issue for 8U2 firmware bug: http://code.google.com/p/arduino/issues/detail?id=542 http://code.google.com/p/arduino/issues/detail?id=522
Diffstat (limited to 'bootloaders/optiboot/optiboot_lilypad.lst')
0 files changed, 0 insertions, 0 deletions