summaryrefslogtreecommitdiff
path: root/decoders/x2444m/pd.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/x2444m/pd.py')
-rw-r--r--decoders/x2444m/pd.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/decoders/x2444m/pd.py b/decoders/x2444m/pd.py
index a6534ee..751e6d3 100644
--- a/decoders/x2444m/pd.py
+++ b/decoders/x2444m/pd.py
@@ -55,14 +55,13 @@ class Decoder(srd.Decoder):
self.reset()
def reset(self):
- pass
-
- def start(self):
- self.out_ann = self.register(srd.OUTPUT_ANN)
self.cs_start = 0
self.cs_asserted = False
self.cmd_digit = 0
+ def start(self):
+ self.out_ann = self.register(srd.OUTPUT_ANN)
+
def putreadwrite(self, ss, es, reg, idx, addr, value):
self.put(ss, es, self.out_ann,
[idx, ['%s: %s => 0x%4.4x' % (reg, addr, value)]])