summaryrefslogtreecommitdiff
path: root/decoders/uart.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/uart.py')
-rw-r--r--decoders/uart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/uart.py b/decoders/uart.py
index 93de9e2..7a63d77 100644
--- a/decoders/uart.py
+++ b/decoders/uart.py
@@ -131,7 +131,7 @@ class Sample():
def __init__(self, data):
self.data = data
def probe(self, probe):
- s = ord(self.data[probe / 8]) & (1 << (probe % 8))
+ s = self.data[probe / 8] & (1 << (probe % 8))
return True if s else False
def sampleiter(data, unitsize):