[Cryptech-Commits] [sw/stm32] branch master updated: fix display of read/write times

git at cryptech.is git at cryptech.is
Sun Nov 1 19:34:49 UTC 2015


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

paul at psgd.org pushed a commit to branch master
in repository sw/stm32.

The following commit(s) were added to refs/heads/master by this push:
       new  5704540   fix display of read/write times
5704540 is described below

commit 5704540e425105d3bfa5ebc378743d7ea8adf46a
Author: Paul Selkirk <paul at psgd.org>
Date:   Sun Nov 1 14:34:31 2015 -0500

    fix display of read/write times
---
 self-test/fmc-perf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/self-test/fmc-perf.c b/self-test/fmc-perf.c
index f0185a0..9dd623e 100644
--- a/self-test/fmc-perf.c
+++ b/self-test/fmc-perf.c
@@ -58,9 +58,9 @@ static void _time_check(char *label, const uint32_t t0)
     uart_send_string(label);
     uart_send_integer(t / 1000, 0);
     uart_send_char('.');
-    uart_send_integer(t % 1000, 999);
+    uart_send_integer(t % 1000, 100);
     uart_send_string(" seconds, ");
-    uart_send_integer((1000 * TEST_NUM_ROUNDS) / t, 0);
+    uart_send_integer(((1000 * TEST_NUM_ROUNDS) / t), 0);
     uart_send_string("/sec\r\n");
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list