aboutsummaryrefslogtreecommitdiff
path: root/cores/robot/Platform.h
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2013-12-18 23:21:45 +0100
committerCristian Maglie <c.maglie@bug.st>2014-01-22 12:06:02 +0100
commitc3cd35f1979290d072ab77a6805dc4419f2ef6fb (patch)
tree7522e8c793e103ce22ca1ba83c048bcabc8e8486 /cores/robot/Platform.h
parent49fc2ab8ad43b86f7668da8d0186abe0d48cd6d9 (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 'cores/robot/Platform.h')
0 files changed, 0 insertions, 0 deletions