From 8c9eb00d76c3df41e022ecf4b0a80db0a632e693 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 31 Aug 2011 15:05:08 -0400 Subject: test-spi-roundtrip.cpp: Remove redundant loop. SerialUSB.read() is already blocking, so no sense looping on available(). --- examples/test-spi-roundtrip.cpp | 2 -- 1 file changed, 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(); } -- cgit v1.2.3