diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2014-10-24 15:26:38 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@bcmi-labs.cc> | 2017-05-23 17:03:42 +0200 |
commit | ba9d416862f599f343bbd152570b39bffa56009a (patch) | |
tree | cd112ee1ff490d6f1ff06e25db0876273143cb46 /firmwares/wifishield/wifiHD/src/avr32_spi.c | |
parent | 716fba8dd98f54dcd816fa69cafdcb681b54ab11 (diff) |
Move the flush method from Stream to Print
This method originally flushed pending input bytes, which makes sense in
Stream. At some point it was changed to flush output bytes instead, but
it was never moved to Print to reflect this.
Since Stream inherits from Print, this should not really affect any
users of the Stream or Print classes. However to prevent problems with
existing implementations of the Print class that do not provide a
flush() implementation, a default implementation is provided. We should
probably remove this at some point in the future, though.
Diffstat (limited to 'firmwares/wifishield/wifiHD/src/avr32_spi.c')
0 files changed, 0 insertions, 0 deletions