From fcd5d23a05282728ad7693f997b1b81d67d409cb Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 2 Mar 2017 00:03:16 +0100 Subject: Drop obsolete workarounds in PDs. Some PDs were using a temporary workaround for (as it turned out) a refcounting issue that was fixed in 066fbafdc3ba734a73b5f7fcfa1dbae67ddebf8a. --- decoders/parallel/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/parallel') diff --git a/decoders/parallel/pd.py b/decoders/parallel/pd.py index 748cb2b..db9b371 100644 --- a/decoders/parallel/pd.py +++ b/decoders/parallel/pd.py @@ -177,7 +177,7 @@ class Decoder(srd.Decoder): if self.has_channel(i): conds.append({i: 'e'}) while True: - self.handle_bits(self.wait(conds[:])[1:]) + self.handle_bits(self.wait(conds)[1:]) else: # Sample on the rising or falling CLK edge (depends on config). while True: -- cgit v1.2.3-70-g09d2