aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-08-30 15:09:45 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-08-31 13:03:30 -0400
commit353a359eacf81a5beca752ed58c0fedec771c31b (patch)
tree7c17be43e215bd4ac4d0980552425f09ad23fb43 /examples
parent324c5d0efd46841a0ce1b24d9ece4e4bc290a7d4 (diff)
downloadlibrambutan-353a359eacf81a5beca752ed58c0fedec771c31b.tar.gz
librambutan-353a359eacf81a5beca752ed58c0fedec771c31b.zip
fsmc-stress-test.cpp: Convert to SerialUSB, don't print so much.
Diffstat (limited to 'examples')
-rw-r--r--examples/fsmc-stress-test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/fsmc-stress-test.cpp b/examples/fsmc-stress-test.cpp
index 6e986b3..defa886 100644
--- a/examples/fsmc-stress-test.cpp
+++ b/examples/fsmc-stress-test.cpp
@@ -108,8 +108,7 @@ void loop() {
last = millis();
while (true) {
- bool result = test();
- if (!result) {
+ if (!test()) {
SerialUSB.println("Halting due to error.");
throb();
} else {