aboutsummaryrefslogtreecommitdiff
path: root/self-test
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-11-02 18:46:16 -0500
committerPaul Selkirk <paul@psgd.org>2015-11-02 18:46:16 -0500
commit0306ce3add02dbe28826f687f86c2c2fae53354c (patch)
treec430c9cd7fe0c2e0315d4bb52982c14cc5b4dbd1 /self-test
parent5704540e425105d3bfa5ebc378743d7ea8adf46a (diff)
rewrite and unify uart_send_<numbertype>
Diffstat (limited to 'self-test')
-rw-r--r--self-test/fmc-perf.c2
-rw-r--r--self-test/fmc-test.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/self-test/fmc-perf.c b/self-test/fmc-perf.c
index 9dd623e..cf6fe19 100644
--- a/self-test/fmc-perf.c
+++ b/self-test/fmc-perf.c
@@ -58,7 +58,7 @@ 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, 100);
+ uart_send_integer(t % 1000, 3);
uart_send_string(" seconds, ");
uart_send_integer(((1000 * TEST_NUM_ROUNDS) / t), 0);
uart_send_string("/sec\r\n");
diff --git a/self-test/fmc-test.c b/self-test/fmc-test.c
index 0e8ff39..cf17087 100644
--- a/self-test/fmc-test.c
+++ b/self-test/fmc-test.c
@@ -91,9 +91,9 @@ int main(void)
addr_test_ok = test_fpga_address_bus();
uart_send_string("Data: ");
- uart_send_integer(data_test_ok, 100000);
+ uart_send_integer(data_test_ok, 6);
uart_send_string(", addr: ");
- uart_send_integer(addr_test_ok, 100000);
+ uart_send_integer(addr_test_ok, 6);
uart_send_string("\r\n");
if (data_test_ok == TEST_NUM_ROUNDS &&