From 13b60f5e520653e5e77564b53c0f363f4063273e Mon Sep 17 00:00:00 2001 From: johnny9 <985648+johnny9@users.noreply.github.com> Date: Fri, 2 Jun 2023 00:09:16 -0400 Subject: [PATCH] bm1397: update test with changes to serial_rx api --- components/bm1397/test/test_job_command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bm1397/test/test_job_command.c b/components/bm1397/test/test_job_command.c index 76a338b3..08d359d7 100644 --- a/components/bm1397/test/test_job_command.c +++ b/components/bm1397/test/test_job_command.c @@ -45,7 +45,7 @@ TEST_CASE("Check known working midstate + job command", "[bm1397]") memset(buf, 0, 1024); send_work(&test_job); - uint16_t received = serial_rx(buf); + uint16_t received = serial_rx(buf, 9, 20); TEST_ASSERT_GREATER_OR_EQUAL_UINT16(sizeof(struct nonce_response), received); int i;