summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
Diffstat (limited to 'decoders')
-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