]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/eeprom24xx/pd.py
All PDs: Consistently use singular/plural for annotation classes/rows.
[libsigrokdecode.git] / decoders / eeprom24xx / pd.py
index 49c586d23b417ebbbd8729e05ae2dfbbc6193e24..549ee2df9b7a4b19694771ed3f5dc4c822c0d30f 100644 (file)
@@ -28,7 +28,8 @@ class Decoder(srd.Decoder):
     desc = '24xx series I²C EEPROM protocol.'
     license = 'gplv2+'
     inputs = ['i2c']
-    outputs = ['eeprom24xx']
+    outputs = []
+    tags = ['IC', 'Memory']
     options = (
         {'id': 'chip', 'desc': 'Chip', 'default': 'generic',
             'values': tuple(chips.keys())},
@@ -37,7 +38,7 @@ class Decoder(srd.Decoder):
     )
     annotations = (
         # Warnings
-        ('warnings', 'Warnings'),
+        ('warning', 'Warning'),
         # Bits/bytes
         ('control-code', 'Control code'),
         ('address-pin', 'Address pin (A0/A1/A2)'),