]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/usb_packet/pd.py
All PDs: Consistent naming/case for annotation shortnames/IDs.
[libsigrokdecode.git] / decoders / usb_packet / pd.py
index 8e981ee41b325ef66178f36d6cc2a39e775b5c30..e6fc35595740ccc3f3c5262ab128bf0f923605a6 100644 (file)
@@ -19,8 +19,6 @@
 ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 ##
 
-# USB (low-speed and full-speed) packet protocol decoder
-
 import sigrokdecode as srd
 
 '''
@@ -151,7 +149,7 @@ class Decoder(srd.Decoder):
         'signalling': ['Signalling', 'full-speed'],
     }
     annotations = [
-        ['Text', 'Human-readable text']
+        ['text', 'Human-readable text']
     ]
 
     def __init__(self):
@@ -179,9 +177,6 @@ class Decoder(srd.Decoder):
         self.out_proto = self.register(srd.OUTPUT_PYTHON)
         self.out_ann = self.register(srd.OUTPUT_ANN)
 
-    def report(self):
-        pass
-
     def handle_packet(self):
         packet = ''
         for (bit, ss, es) in self.bits: