aboutsummaryrefslogtreecommitdiffstats
path: root/examples/fsmc-stress-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/fsmc-stress-test.cpp')
-rw-r--r--examples/fsmc-stress-test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/fsmc-stress-test.cpp b/examples/fsmc-stress-test.cpp
index 6e986b3..defa886 100644
--- a/examples/fsmc-stress-test.cpp
+++ b/examples/fsmc-stress-test.cpp
@@ -108,8 +108,7 @@ void loop() {
last = millis();
while (true) {
- bool result = test();
- if (!result) {
+ if (!test()) {
SerialUSB.println("Halting due to error.");
throb();
} else {