diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2013-12-18 23:21:45 +0100 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2014-01-22 12:06:02 +0100 |
commit | c3cd35f1979290d072ab77a6805dc4419f2ef6fb (patch) | |
tree | 7522e8c793e103ce22ca1ba83c048bcabc8e8486 /bootloaders | |
parent | 49fc2ab8ad43b86f7668da8d0186abe0d48cd6d9 (diff) |
In HardwareSerial::write, bypass the queue when it's empty
This helps improve the effective datarate on high (>500kbit/s) bitrates,
by skipping the interrupt and associated overhead. At 1 Mbit/s the
implementation previously got up to about 600-700 kbit/s, but now it
actually gets up to the 1Mbit/s (values are rough estimates, though).
Diffstat (limited to 'bootloaders')
0 files changed, 0 insertions, 0 deletions