Remove deprecated argument.
This commit is contained in:
parent
93d8048695
commit
4d2b5cbece
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ while True:
|
||||||
pulses = decoder.read_pulses(pulsein)
|
pulses = decoder.read_pulses(pulsein)
|
||||||
try:
|
try:
|
||||||
# Attempt to convert received pulses into numbers
|
# 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:
|
except adafruit_irremote.IRNECRepeatException:
|
||||||
# We got an unusual short code, probably a 'repeat' signal
|
# We got an unusual short code, probably a 'repeat' signal
|
||||||
# print("NEC repeat!")
|
# print("NEC repeat!")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue