From: Uwe Hermann Date: Sun, 12 Oct 2014 12:57:56 +0000 (+0200) Subject: am230x: Fix self.reset() method name. X-Git-Tag: libsigrokdecode-0.4.0~165 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f87162978a3f804d43ae12208c3d6a4a86382c1c;p=libsigrokdecode.git am230x: Fix self.reset() method name. --- diff --git a/decoders/am230x/pd.py b/decoders/am230x/pd.py index d7cbad2..9a783b9 100644 --- a/decoders/am230x/pd.py +++ b/decoders/am230x/pd.py @@ -185,7 +185,7 @@ class Decoder(srd.Decoder): self.bytepos.append(self.samplenum) self.state = 'WAIT FOR BIT HIGH' else: - self.reset_variables() + self.reset() elif self.state == 'WAIT FOR BIT HIGH': if sda != 1: continue