diff options
-rw-r--r-- | decoders/ir_rc5/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/ir_rc5/pd.py b/decoders/ir_rc5/pd.py index cd94eae..ad2b4a5 100644 --- a/decoders/ir_rc5/pd.py +++ b/decoders/ir_rc5/pd.py @@ -174,7 +174,7 @@ class Decoder(srd.Decoder): if bit != None: self.bits.append([self.samplenum, bit]) - if len(self.bits) == 14 + 1: + if len(self.bits) == 14: self.handle_bits() self.reset_decoder_state() |