diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2016-05-15 15:42:48 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2016-05-15 15:42:48 +0200 |
commit | 92b7b49f6964f57a7d6fc4473645c993cfa4ba52 (patch) | |
tree | eab13c93ccaa8261e185c009c627f916b80ea221 /decoders/ir_nec | |
parent | 4045d68426fdc10ed3a0ac02d4bc353b37f1f252 (diff) | |
download | libsigrokdecode-92b7b49f6964f57a7d6fc4473645c993cfa4ba52.tar.gz libsigrokdecode-92b7b49f6964f57a7d6fc4473645c993cfa4ba52.zip |
Use consistent __init__() format across all PDs.
The previous **kwargs some PDs had is not actually ever used, so drop it.
Diffstat (limited to 'decoders/ir_nec')
-rw-r--r-- | decoders/ir_nec/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/ir_nec/pd.py b/decoders/ir_nec/pd.py index d14c7d3..8c589fa 100644 --- a/decoders/ir_nec/pd.py +++ b/decoders/ir_nec/pd.py @@ -99,7 +99,7 @@ class Decoder(srd.Decoder): [11, ['%s: %s' % (dev, btn[0]), '%s: %s' % (dev, btn[1]), '%s' % btn[1]]]) - def __init__(self, **kwargs): + def __init__(self): self.state = 'IDLE' self.ss_bit = self.ss_start = self.ss_other_edge = self.ss_remote = 0 self.data = self.count = self.active = self.old_ir = None |