summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2015-09-02 16:48:30 +0200
committerFredrik Thulin <fredrik@thulin.net>2015-09-02 16:48:30 +0200
commit09ef0d0d459f680bdb3510bb03535a389541fe89 (patch)
tree1774eede63f7409175a475575a74ecc6956c2872
parent53beec60fc922f30f1b2ffb2ede5b240d2961635 (diff)
Enable checking for errors.
Fix from Pavel, posted on the tech-list.
-rw-r--r--src/fmc-test/src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fmc-test/src/main.c b/src/fmc-test/src/main.c
index ca3ae18..872c182 100644
--- a/src/fmc-test/src/main.c
+++ b/src/fmc-test/src/main.c
@@ -89,14 +89,14 @@ int main(void)
test_ok = test_fpga_data_bus();
// check for errors (abort testing in case of error)
- if (test_ok < TEST_NUM_ROUNDS) /*break*/;
+ if (test_ok < TEST_NUM_ROUNDS) break;
// test address bus
test_ok = test_fpga_address_bus();
// check for errors (abort testing in case of error)
- if (test_ok < TEST_NUM_ROUNDS) /*break*/;
+ if (test_ok < TEST_NUM_ROUNDS) break;
// toggle yellow led to indicate, that we are alive
led_toggle(GPIO_PIN_LED_YELLOW);