Skip to content

Commit c841a69

Browse files
semanciktannewt
andauthored
Making pylint happy
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
1 parent 5c287a2 commit c841a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_dht.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class DHTBase:
5555

5656
__hiLevel = 51
5757

58-
def __init__(self, dht11: bool, pin: Pin, trig_wait: int, max_pulses: int, use_pulseio: bool):
58+
def __init__(self, dht11: bool, pin: Pin, trig_wait: int, use_pulseio: bool, *, max_pulses: int = 81):
5959
"""
6060
:param boolean dht11: True if device is DHT11, otherwise DHT22.
6161
:param ~board.Pin pin: digital pin used for communication

0 commit comments

Comments
 (0)