summaryrefslogtreecommitdiff
path: root/decoders/srd_usb.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/srd_usb.py')
-rw-r--r--decoders/srd_usb.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/decoders/srd_usb.py b/decoders/srd_usb.py
index 4792eeb..3969532 100644
--- a/decoders/srd_usb.py
+++ b/decoders/srd_usb.py
@@ -45,10 +45,10 @@ import sigrokdecode
# States
SE0, J, K, SE1 = 0, 1, 2, 3
syms = {
- (False, False): SE0,
- (True, False): J,
- (False, True): K,
- (True, True): SE1,
+ (0, 0): SE0,
+ (1, 0): J,
+ (0, 1): K,
+ (1, 1): SE1,
}
def bitstr_to_num(bitstr):