Remove deprecated argument.

This commit is contained in:
Kattni Rembor 2022-05-31 16:01:38 -04:00
parent 93d8048695
commit 4d2b5cbece

View file

@ -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!")