From 796f6922f5d06b9b208a56d343266deee3940a90 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 30 Aug 2011 15:47:28 -0400 Subject: fsmc-stress-test.cpp: Eliminating unnecessary variable. --- examples/fsmc-stress-test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/fsmc-stress-test.cpp') 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 { -- cgit v1.2.3