]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/onewire_network/pd.py
Fix warnings exposed by -Wmissing-prototypes.
[libsigrokdecode.git] / decoders / onewire_network / pd.py
index 67dfe45ffaa27b17debe49943d4ed6d6d94223bd..19ee649caeccf9d23a457f07c7c29a50867f932c 100644 (file)
@@ -18,8 +18,6 @@
 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 ##
 
-# 1-Wire protocol decoder (network layer)
-
 import sigrokdecode as srd
 
 # Dictionary of ROM commands and their names, next state.
@@ -47,7 +45,7 @@ class Decoder(srd.Decoder):
     optional_probes = []
     options = {}
     annotations = [
-        ['Text', 'Human-readable text'],
+        ['text', 'Human-readable text'],
     ]
 
     def __init__(self, **kwargs):