diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-08-31 15:05:08 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-08-31 15:14:53 -0400 |
commit | 8c9eb00d76c3df41e022ecf4b0a80db0a632e693 (patch) | |
tree | 179bc3319d14bf905daede85e4bcff06f1fe94e9 /examples | |
parent | eb30073f88b6d5dd56eaca4a7c78c59be4e843f8 (diff) | |
download | librambutan-8c9eb00d76c3df41e022ecf4b0a80db0a632e693.tar.gz librambutan-8c9eb00d76c3df41e022ecf4b0a80db0a632e693.zip |
test-spi-roundtrip.cpp: Remove redundant loop.
SerialUSB.read() is already blocking, so no sense looping on available().
Diffstat (limited to 'examples')
-rw-r--r-- | examples/test-spi-roundtrip.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/test-spi-roundtrip.cpp b/examples/test-spi-roundtrip.cpp index 647e6f1..71ae658 100644 --- a/examples/test-spi-roundtrip.cpp +++ b/examples/test-spi-roundtrip.cpp @@ -59,8 +59,6 @@ void soliloquies(uint32 bitOrder); void setup() { pinMode(BOARD_LED_PIN, OUTPUT); - while (!SerialUSB.available()) - ; SerialUSB.read(); } |