Skip to content

Commit f9917d5

Browse files
committed
fix: return proper value after crc calculation
1 parent 13fd690 commit f9917d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dht20.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,6 @@ impl<I: I2c, D: DelayNs> Dht20<I, D> {
9494
}
9595
}
9696

97-
10
97+
crc
9898
}
9999
}

0 commit comments

Comments
 (0)