aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial1.cpp
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2014-04-22 16:30:13 +0200
committerMatthijs Kooijman <matthijs@stdin.nl>2015-01-26 17:03:25 +0100
commitddcdc901a7b5eb9504f4fb3debf16e985e734b5f (patch)
tree80d1b2660e974ef81344d4625d61306c205413a6 /cores/arduino/HardwareSerial1.cpp
parentcf0cc48d9a8de84fabb44e644dcac6a3f8afc66c (diff)
Simplify SoftwareSerial::write
Before, there was nearly identical code for the inverted and regular cases. However, simply inverting the byte in the inverted case allows using the regular code twice, reducing the generated code size by 100 bytes (on an Arduino Uno and gcc 4.3, on gcc 4.8 the reduction is 50 bytes).
Diffstat (limited to 'cores/arduino/HardwareSerial1.cpp')
0 files changed, 0 insertions, 0 deletions