From 92b7b49f6964f57a7d6fc4473645c993cfa4ba52 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 15 May 2016 15:42:48 +0200 Subject: Use consistent __init__() format across all PDs. The previous **kwargs some PDs had is not actually ever used, so drop it. --- decoders/uart/pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decoders/uart/pd.py') diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py index db1065d..0e6e548 100644 --- a/decoders/uart/pd.py +++ b/decoders/uart/pd.py @@ -160,7 +160,7 @@ class Decoder(srd.Decoder): s, halfbit = self.startsample[rxtx], self.bit_width / 2.0 self.put(s - floor(halfbit), self.samplenum + ceil(halfbit), self.out_binary, data) - def __init__(self, **kwargs): + def __init__(self): self.samplerate = None self.samplenum = 0 self.frame_start = [-1, -1] -- cgit v1.2.3-70-g09d2