diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2015-09-02 16:48:30 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2015-09-02 16:48:30 +0200 |
commit | 09ef0d0d459f680bdb3510bb03535a389541fe89 (patch) | |
tree | 1774eede63f7409175a475575a74ecc6956c2872 /src/fmc-test | |
parent | 53beec60fc922f30f1b2ffb2ede5b240d2961635 (diff) |
Enable checking for errors.
Fix from Pavel, posted on the tech-list.
Diffstat (limited to 'src/fmc-test')
-rw-r--r-- | src/fmc-test/src/main.c | 4 |
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); |