From b579746b79079b55bca0c7bfe9ffde6681a6bbfc Mon Sep 17 00:00:00 2001 From: bsdevlin Date: Mon, 1 Jul 2019 21:32:30 +0800 Subject: [PATCH] typo --- aws/cl_zcash/software/runtime/test_zcash.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aws/cl_zcash/software/runtime/test_zcash.cpp b/aws/cl_zcash/software/runtime/test_zcash.cpp index f3b050b..8a1b393 100644 --- a/aws/cl_zcash/software/runtime/test_zcash.cpp +++ b/aws/cl_zcash/software/runtime/test_zcash.cpp @@ -132,7 +132,7 @@ int main(int argc, char **argv) { timeout = 0; read_len = 0; memset(reply, 0, 512); - while ((read_len = read_stream(reply, 256)) == 0) { + while ((read_len = zcash_fpga.read_stream(reply, 256)) == 0) { usleep(1); timeout++; if (timeout > 1000) { @@ -150,7 +150,7 @@ int main(int argc, char **argv) { memset(reply, 0, 512); timeout = 0; read_len = 0; - while ((read_len = read_stream(reply, 256)) == 0) { + while ((read_len = zcash_fpga.read_stream(reply, 256)) == 0) { usleep(1); timeout++; if (timeout > 1000) { @@ -165,7 +165,7 @@ int main(int argc, char **argv) { printf("\n"); // Read current instruction - rc = bls12_381_get_curr_inst_slot(slot_id); + rc = zcash_fpga.bls12_381_get_curr_inst_slot(slot_id); fail_on(rc, out, "ERROR: Unable to write to FPGA!\n"); printf("Data slot is now %d\n", slot_id);