diff options
Diffstat (limited to 'decoders/srd_usb.py')
-rw-r--r-- | decoders/srd_usb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/srd_usb.py b/decoders/srd_usb.py index a223dbb..2db0158 100644 --- a/decoders/srd_usb.py +++ b/decoders/srd_usb.py @@ -46,7 +46,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): |