diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-12-07 19:11:27 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-12-07 19:11:27 +0100 |
commit | 5d6d8896ded87ce72b42e68c77120008b2d1b779 (patch) | |
tree | 265ff15b78e71d26d9dced23db5990e52f1cbc0c /decoders/usb_signalling | |
parent | eee48b666e350ff05548f12c8244fb8b609d3a86 (diff) | |
download | libsigrokdecode-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/usb_signalling')
-rw-r--r-- | decoders/usb_signalling/pd.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/decoders/usb_signalling/pd.py b/decoders/usb_signalling/pd.py index 3731036..626dcd0 100644 --- a/decoders/usb_signalling/pd.py +++ b/decoders/usb_signalling/pd.py @@ -142,7 +142,6 @@ class Decoder(srd.Decoder): self.samplerate = None self.oldsym = 'J' # The "idle" state is J. self.ss_block = None - self.samplenum = 0 self.bitrate = None self.bitwidth = None self.samplepos = None |