diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-08-30 15:47:28 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-08-31 13:06:07 -0400 |
commit | 796f6922f5d06b9b208a56d343266deee3940a90 (patch) | |
tree | 6d06d2622aecde5d4e1b2d6c19c5f836730faebf /examples | |
parent | 353a359eacf81a5beca752ed58c0fedec771c31b (diff) | |
download | librambutan-796f6922f5d06b9b208a56d343266deee3940a90.tar.gz librambutan-796f6922f5d06b9b208a56d343266deee3940a90.zip |
fsmc-stress-test.cpp: Eliminating unnecessary variable.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/fsmc-stress-test.cpp | 3 |
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 { |