From 09ef0d0d459f680bdb3510bb03535a389541fe89 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Wed, 2 Sep 2015 16:48:30 +0200 Subject: Enable checking for errors. Fix from Pavel, posted on the tech-list. --- src/fmc-test/src/main.c | 4 ++-- 1 file 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); -- cgit v1.2.3