]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/wiegand/pd.py
avr_isp: Add more parts
[libsigrokdecode.git] / decoders / wiegand / pd.py
index 7819fd6586ac4e26d2a97c96d4dc30cf64dcb98e..7b3241f85f4e8d4480a3728d5e45c4828b5b3a68 100644 (file)
@@ -30,7 +30,7 @@ class Decoder(srd.Decoder):
     desc = 'Wiegand interface for electronic entry systems.'
     license = 'gplv2+'
     inputs = ['logic']
-    outputs = ['wiegand']
+    outputs = []
     tags = ['Embedded/industrial', 'RFID']
     channels = (
         {'id': 'd0', 'name': 'D0', 'desc': 'Data 0 line'},
@@ -43,12 +43,12 @@ class Decoder(srd.Decoder):
          'default': 4, 'values': (1, 2, 4, 8, 16, 32)},
     )
     annotations = (
-        ('bits', 'Bits'),
+        ('bit', 'Bit'),
         ('state', 'State'),
     )
     annotation_rows = (
-        ('bits', 'Binary value', (0,)),
-        ('state', 'Stream state', (1,)),
+        ('bits', 'Bits', (0,)),
+        ('states', 'Stream states', (1,)),
     )
 
     def __init__(self):