Remove unnecessary kwarg.
This commit is contained in:
parent
f1e223c931
commit
6b341efd09
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ while True:
|
|||
pulses = decoder.read_pulses(pulsein)
|
||||
try:
|
||||
# Attempt to convert received pulses into numbers
|
||||
received_code = decoder.decode_bits(pulses, debug=False)
|
||||
received_code = decoder.decode_bits(pulses)
|
||||
except adafruit_irremote.IRNECRepeatException:
|
||||
# We got an unusual short code, probably a 'repeat' signal
|
||||
# print("NEC repeat!")
|
||||
|
|
|
|||
Loading…
Reference in a new issue