summaryrefslogtreecommitdiff
path: root/decoders/am230x
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-10-12 14:57:56 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2014-10-12 14:59:56 +0200
commitf87162978a3f804d43ae12208c3d6a4a86382c1c (patch)
tree1afba80f0818c833226c74bc1fa95b5ccb3e2428 /decoders/am230x
parent47405f47db235c06d9f2ad26ae51791136b62a91 (diff)
downloadlibsigrokdecode-f87162978a3f804d43ae12208c3d6a4a86382c1c.tar.gz
libsigrokdecode-f87162978a3f804d43ae12208c3d6a4a86382c1c.zip
am230x: Fix self.reset() method name.
Diffstat (limited to 'decoders/am230x')
-rw-r--r--decoders/am230x/pd.py2
1 files changed, 1 insertions, 1 deletions
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