mirror of
https://github.com/skot/ESP-Miner.git
synced 2025-03-26 17:51:45 +01:00
bm1397: update test with changes to serial_rx api
This commit is contained in:
parent
098e231308
commit
13b60f5e52
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user