summaryrefslogtreecommitdiff
path: root/decoders/mrf24j40
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/mrf24j40
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/mrf24j40')
-rw-r--r--decoders/mrf24j40/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/mrf24j40/pd.py b/decoders/mrf24j40/pd.py
index 6885054..8ef7017 100644
--- a/decoders/mrf24j40/pd.py
+++ b/decoders/mrf24j40/pd.py
@@ -43,7 +43,7 @@ class Decoder(srd.Decoder):
('warnings', 'Warnings', (4,)),
)
- def __init__(self, **kwargs):
+ def __init__(self):
self.ss_cmd, self.es_cmd = 0, 0
self.mosi_bytes = []
self.miso_bytes = []