[Cryptech-Commits] [user/ft/stm32-dev-bridge] 03/05: Enable checking for errors.

git at cryptech.is git at cryptech.is
Wed Sep 2 14:58:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

fredrik at thulin.net pushed a commit to branch master
in repository user/ft/stm32-dev-bridge.

commit 09ef0d0d459f680bdb3510bb03535a389541fe89
Author: Fredrik Thulin <fredrik at thulin.net>
Date:   Wed Sep 2 16:48:30 2015 +0200

    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);



More information about the Commits mailing list