summaryrefslogtreecommitdiff
path: root/decoders/mx25lxx05d.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/mx25lxx05d.py')
-rw-r--r--decoders/mx25lxx05d.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/mx25lxx05d.py b/decoders/mx25lxx05d.py
index 973e065..36a53ee 100644
--- a/decoders/mx25lxx05d.py
+++ b/decoders/mx25lxx05d.py
@@ -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):