summaryrefslogtreecommitdiff
path: root/decoders/modbus
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/modbus')
-rw-r--r--decoders/modbus/pd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/modbus/pd.py b/decoders/modbus/pd.py
index 1942e18..3420f99 100644
--- a/decoders/modbus/pd.py
+++ b/decoders/modbus/pd.py
@@ -846,7 +846,7 @@ class Decoder(srd.Decoder):
'values': ('RX', 'TX')},
)
- def __init__(self, **kwargs):
+ def __init__(self):
self.ADUSc = None # Start off with empty slave -> client ADU.
self.ADUCs = None # Start off with empty client -> slave ADU.