aboutsummaryrefslogtreecommitdiff
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
commit3cf6035852b5474c4838b1f3e181844ad0924dd6 (patch)
tree6d06d2622aecde5d4e1b2d6c19c5f836730faebf /examples
parent98af868b0dbc0c4d476bad9479012c73a40beb06 (diff)
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 {