summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decoders/sdcard_spi/pd.py1
-rw-r--r--decoders/usb_packet/pd.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py
index cbf59d7..6717c81 100644
--- a/decoders/sdcard_spi/pd.py
+++ b/decoders/sdcard_spi/pd.py
@@ -98,7 +98,6 @@ class Decoder(srd.Decoder):
def __init__(self, **kwargs):
self.state = 'IDLE'
- self.samplenum = 0
self.ss, self.es = 0, 0
self.bit_ss, self.bit_es = 0, 0
self.cmd_ss, self.cmd_es = 0, 0
diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py
index 1bbf580..a9c8b25 100644
--- a/decoders/usb_packet/pd.py
+++ b/decoders/usb_packet/pd.py
@@ -192,7 +192,6 @@ class Decoder(srd.Decoder):
)
def __init__(self):
- self.samplenum = 0
self.bits = []
self.packet = []
self.packet_summary = ''