summaryrefslogtreecommitdiff
path: root/decoders/maxim_ds28ea00/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2016-05-15 15:42:48 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2016-05-15 15:42:48 +0200
commit92b7b49f6964f57a7d6fc4473645c993cfa4ba52 (patch)
treeeab13c93ccaa8261e185c009c627f916b80ea221 /decoders/maxim_ds28ea00/pd.py
parent4045d68426fdc10ed3a0ac02d4bc353b37f1f252 (diff)
downloadlibsigrokdecode-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/maxim_ds28ea00/pd.py')
-rw-r--r--decoders/maxim_ds28ea00/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/maxim_ds28ea00/pd.py b/decoders/maxim_ds28ea00/pd.py
index 229331f..c7ff7df 100644
--- a/decoders/maxim_ds28ea00/pd.py
+++ b/decoders/maxim_ds28ea00/pd.py
@@ -48,7 +48,7 @@ class Decoder(srd.Decoder):
('text', 'Human-readable text'),
)
- def __init__(self, **kwargs):
+ def __init__(self):
self.trn_beg = 0
self.trn_end = 0
self.state = 'ROM'