diff options
Diffstat (limited to 'decoders/parallel/pd.py')
-rw-r--r-- | decoders/parallel/pd.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/decoders/parallel/pd.py b/decoders/parallel/pd.py index 0b512c8..a695ca6 100644 --- a/decoders/parallel/pd.py +++ b/decoders/parallel/pd.py @@ -122,7 +122,7 @@ class Decoder(srd.Decoder): self.items.append(item) self.itemcount += 1 - if self.first == True: + if self.first: # Save the start sample and item for later (no output yet). self.ss_item = self.samplenum self.first = False @@ -184,4 +184,3 @@ class Decoder(srd.Decoder): self.handle_bits(pins[1:]) else: self.find_clk_edge(pins[0], pins[1:]) - |