diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-07-31 16:48:15 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-07-31 16:49:00 -0400 |
commit | d0fc50d44d664329f6336b4bef9c9e62a12768be (patch) | |
tree | cb9e088e3e4639febeb8d4af7378a1c87b95840a /examples/serial-echo.cpp | |
parent | c8b7f0b5b390ff4cae32566d53f4410e72de4573 (diff) | |
download | librambutan-d0fc50d44d664329f6336b4bef9c9e62a12768be.tar.gz librambutan-d0fc50d44d664329f6336b4bef9c9e62a12768be.zip |
HardwareSerial: make read() block until data arrive.
This makes the HardwareSerial behavior match that of SerialUSB, and
should help avoid confusion.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'examples/serial-echo.cpp')
0 files changed, 0 insertions, 0 deletions