summaryrefslogtreecommitdiff
path: root/decoders/ir_rc6
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-12-07 19:11:27 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-12-07 19:11:27 +0100
commit5d6d8896ded87ce72b42e68c77120008b2d1b779 (patch)
tree265ff15b78e71d26d9dced23db5990e52f1cbc0c /decoders/ir_rc6
parenteee48b666e350ff05548f12c8244fb8b609d3a86 (diff)
downloadlibsigrokdecode-5d6d8896ded87ce72b42e68c77120008b2d1b779.tar.gz
libsigrokdecode-5d6d8896ded87ce72b42e68c77120008b2d1b779.zip
decoders: Don't set self.samplenum.
This is managed by the backend and should be read-only for PDs.
Diffstat (limited to 'decoders/ir_rc6')
-rw-r--r--decoders/ir_rc6/pd.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/decoders/ir_rc6/pd.py b/decoders/ir_rc6/pd.py
index 90a55ae..e195dbd 100644
--- a/decoders/ir_rc6/pd.py
+++ b/decoders/ir_rc6/pd.py
@@ -58,7 +58,6 @@ class Decoder(srd.Decoder):
def reset(self):
self.samplerate = None
- self.samplenum = None
self.edges, self.deltas, self.bits = [], [], []
self.state = 'IDLE'
self.mode = 0