]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/mx25lxx05d.py
srd: *.py: Remove one incorrect ord() call.
[libsigrokdecode.git] / decoders / mx25lxx05d.py
index 973e0659cb9de765f5ddffca09c7e7d414202b50..36a53eed8d959d340c09100a115a27818b2af278 100644 (file)
@@ -161,7 +161,7 @@ class Sample():
     def __init__(self, data):
         self.data = data
     def probe(self, probe):
-        s = ord(self.data[int(probe / 8)]) & (1 << (probe % 8))
+        s = self.data[int(probe / 8)] & (1 << (probe % 8))
         return True if s else False
 
 def sampleiter(data, unitsize):