aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/fsmc-stress-test.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/fsmc-stress-test.cpp b/examples/fsmc-stress-test.cpp
index 0cb9d30..6e986b3 100644
--- a/examples/fsmc-stress-test.cpp
+++ b/examples/fsmc-stress-test.cpp
@@ -104,14 +104,12 @@ bool simple_roundtrip(void);
void loop() {
uint32 last;
- bool ok = true;
bool (*test)(void) = stress_test;
last = millis();
while (true) {
bool result = test();
- ok = ok && result;
- if (!ok) {
+ if (!result) {
SerialUSB.println("Halting due to error.");
throb();
} else {