]> sigrok.org Git - libsigrokdecode.git/commitdiff
pwm: Drop unused 'pins' variable.
authorUwe Hermann <redacted>
Wed, 21 Jun 2017 06:32:43 +0000 (08:32 +0200)
committerUwe Hermann <redacted>
Wed, 21 Jun 2017 15:45:15 +0000 (17:45 +0200)
decoders/pwm/pd.py

index 0cd0a548d0ed91e81b287196bb076e9afc59cdc3..444b4179cb55ac00e337bb791c10ac6c14da1e3c 100644 (file)
@@ -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