From 0aef9c398815a63e7a7cc0a6ffd42aa440c8a48b Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Sun, 27 May 2018 16:54:00 -0400 Subject: FMC cleanup: constification, gratuitous pointer. --- projects/board-test/fmc-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'projects/board-test/fmc-test.c') diff --git a/projects/board-test/fmc-test.c b/projects/board-test/fmc-test.c index 2002f57..1421db0 100644 --- a/projects/board-test/fmc-test.c +++ b/projects/board-test/fmc-test.c @@ -171,7 +171,7 @@ int test_fpga_data_bus(void) if (hal_result != HAL_OK) break; // write value to fpga at address 0 - ok = fmc_write_32(0, &rnd); + ok = fmc_write_32(0, rnd); if (ok != 0) break; // read value from fpga @@ -239,7 +239,7 @@ int test_fpga_address_bus(void) if (rnd == 0) continue; // write dummy value to fpga at some non-zero address - ok = fmc_write_32(rnd, &buf); + ok = fmc_write_32(rnd, buf); if (ok != 0) break; // read value from fpga -- cgit v1.2.3