diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2014-04-22 17:45:21 +0200 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2015-01-26 17:03:25 +0100 |
commit | fe390c3cc8e8b908d8207be80aaa34f804d82c79 (patch) | |
tree | fde1519a8b2dc450837e4aebc054b473fbdf3e1c /libraries/Wire/Wire.cpp | |
parent | ddcdc901a7b5eb9504f4fb3debf16e985e734b5f (diff) |
Mark SoftwareSerial::tx_pin_write as "always_inline"
Somehow gcc 4.8 doesn't inline this function, even though it is always
called with constant arguments and can be reduced to just a few
instructions when inlined. Adding the always_inline attribute makes gcc
inline it, saving 46 bytes on the Arduino uno.
gcc 4.3 already inlined this function, so there are no space
savings there.
Diffstat (limited to 'libraries/Wire/Wire.cpp')
0 files changed, 0 insertions, 0 deletions