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 | 3cf6035852b5474c4838b1f3e181844ad0924dd6 (patch) | |
| tree | 6d06d2622aecde5d4e1b2d6c19c5f836730faebf | |
| parent | 98af868b0dbc0c4d476bad9479012c73a40beb06 (diff) | |
fsmc-stress-test.cpp: Eliminating unnecessary variable.
| -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 { |
