aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-08-30 15:47:28 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-08-31 13:06:07 -0400
commit796f6922f5d06b9b208a56d343266deee3940a90 (patch)
tree6d06d2622aecde5d4e1b2d6c19c5f836730faebf /examples
parent353a359eacf81a5beca752ed58c0fedec771c31b (diff)
downloadlibrambutan-796f6922f5d06b9b208a56d343266deee3940a90.tar.gz
librambutan-796f6922f5d06b9b208a56d343266deee3940a90.zip
fsmc-stress-test.cpp: Eliminating unnecessary variable.
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 defa886..509a02f 100644
--- a/examples/fsmc-stress-test.cpp
+++ b/examples/fsmc-stress-test.cpp
@@ -104,11 +104,10 @@ bool simple_roundtrip(void);
void loop() {
uint32 last;
- bool (*test)(void) = stress_test;
last = millis();
while (true) {
- if (!test()) {
+ if (!stress_test()) {
SerialUSB.println("Halting due to error.");
throb();
} else {