From: Uwe Hermann Date: Wed, 21 Jun 2017 06:32:43 +0000 (+0200) Subject: pwm: Drop unused 'pins' variable. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0e48cad63eda6af83771cace3d1ed2a0f14c9474;p=libsigrokdecode.git pwm: Drop unused 'pins' variable. --- 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