]> sigrok.org Git - libsigrokdecode.git/commitdiff
am230x: Fix self.reset() method name.
authorUwe Hermann <redacted>
Sun, 12 Oct 2014 12:57:56 +0000 (14:57 +0200)
committerUwe Hermann <redacted>
Sun, 12 Oct 2014 12:59:56 +0000 (14:59 +0200)
decoders/am230x/pd.py

index d7cbad24258c3c56b7d2c84afbb1a19d60be8b87..9a783b9cb4849ac0eeb73c50b433804e51306dee 100644 (file)
@@ -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