From 66f1d3456b0f0a4e29339432d1bd80e462b308fb Mon Sep 17 00:00:00 2001 From: SoulKa Date: Tue, 16 Jan 2024 14:20:53 +0100 Subject: [PATCH] fix CRC checksum of read timeout test --- aht20/aht20_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aht20/aht20_test.go b/aht20/aht20_test.go index 6b90704..157e584 100644 --- a/aht20/aht20_test.go +++ b/aht20/aht20_test.go @@ -139,7 +139,7 @@ func TestDev_Sense_error(t *testing.T) { }, { name: "read timeout", - data: []byte{0x00, 0x75, 0x52, 0x05, 0x8E, 0x40, 0x7F}, + data: []byte{byteStatusInitialized, 0x75, 0x52, 0x05, 0x8E, 0x40, 0x7F}, opts: Opts{ MeasurementReadTimeout: 1, MeasurementWaitInterval: 10 * time.Millisecond,