diff options
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 { |