]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/ds1307/pd.py
modbus: Add missing annotation class names.
[libsigrokdecode.git] / decoders / ds1307 / pd.py
index 0cd3b9d85534b3b408ca1c6c69fb891f9e74a142..c6a2e342f3360e626631767a201ec7af13b42369 100644 (file)
@@ -56,17 +56,17 @@ class Decoder(srd.Decoder):
     id = 'ds1307'
     name = 'DS1307'
     longname = 'Dallas DS1307'
-    desc = 'Realtime clock module protocol.'
+    desc = 'Dallas DS1307 realtime clock module protocol.'
     license = 'gplv2+'
     inputs = ['i2c']
-    outputs = ['ds1307']
+    outputs = []
     tags = ['Clock/timing', 'IC']
     annotations =  regs_and_bits() + (
         ('read-datetime', 'Read date/time'),
         ('write-datetime', 'Write date/time'),
         ('reg-read', 'Register read'),
         ('reg-write', 'Register write'),
-        ('warnings', 'Warnings'),
+        ('warning', 'Warning'),
     )
     annotation_rows = (
         ('bits', 'Bits', tuple(range(9, 24))),