Skip to content

Commit 85a636c

Browse files
committed
typo
1 parent 2083c89 commit 85a636c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dht11.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ def read(self):
4343
# collect data into an array
4444
data = self.__collect_input()
4545

46-
# parse lengths all data pull up periods
46+
# parse lengths of all data pull up periods
4747
pull_up_lengths = self.__parse_data_pull_up_lengths(data)
4848

49-
# if bit count mismatch (4 byte data + 1 byte checksum)
49+
# if bit count mismatch, return error (4 byte data + 1 byte checksum)
5050
if len(pull_up_lengths) != 40:
5151
return DHT11Result(DHT11Result.ERR_MISSING_DATA, 0, 0)
5252

0 commit comments

Comments
 (0)