summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2017-06-21 08:32:43 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2017-06-21 17:45:15 +0200
commit0e48cad63eda6af83771cace3d1ed2a0f14c9474 (patch)
tree94d991bf328f1d8fee8c597460eb77a249945196
parentfcbd63364b64383c437c6182110557ac30201a1f (diff)
downloadlibsigrokdecode-0e48cad63eda6af83771cace3d1ed2a0f14c9474.tar.gz
libsigrokdecode-0e48cad63eda6af83771cace3d1ed2a0f14c9474.zip
pwm: Drop unused 'pins' variable.
-rw-r--r--decoders/pwm/pd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/pwm/pd.py b/decoders/pwm/pd.py
index 0cd0a54..444b417 100644
--- a/decoders/pwm/pd.py
+++ b/decoders/pwm/pd.py
@@ -101,9 +101,9 @@ class Decoder(srd.Decoder):
# Get the next two edges. Setup some variables that get
# referenced in the calculation and in put() routines.
start_samplenum = self.samplenum
- pins = self.wait({0: 'e'})
+ self.wait({0: 'e'})
end_samplenum = self.samplenum
- pins = self.wait({0: 'e'})
+ self.wait({0: 'e'})
self.ss_block = start_samplenum
self.es_block = self.samplenum