diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-08-28 21:38:39 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-09-15 20:04:27 +0200 |
commit | e228150a0e8d60ef3fcaa6f077305a8e6045dfe8 (patch) | |
tree | f93fb81d414961956bf3edcb4eeec10db5d4957b | |
parent | 4eafeeefc716a617837f1d69c040753b0b8d71f7 (diff) | |
download | libsigrokdecode-e228150a0e8d60ef3fcaa6f077305a8e6045dfe8.tar.gz libsigrokdecode-e228150a0e8d60ef3fcaa6f077305a8e6045dfe8.zip |
sdcard_spi/usb_packet: Drop unused variables.
-rw-r--r-- | decoders/sdcard_spi/pd.py | 1 | ||||
-rw-r--r-- | decoders/usb_packet/pd.py | 1 |
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 = '' |