]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/edid/pd.py
All PDs: Drop unneeded comments.
[libsigrokdecode.git] / decoders / edid / pd.py
index 1f621b22a5f1bef8890f4c49dad69fb9a8559e07..adeb6aec20c657fbb040730a362d7cc95d493e09 100644 (file)
@@ -17,8 +17,6 @@
 ## along with this program; if not, see <http://www.gnu.org/licenses/>.
 ##
 
-# EDID protocol decoder
-
 # TODO:
 #    - EDID < 1.3
 #    - add short annotations
@@ -87,8 +85,8 @@ class Decoder(srd.Decoder):
     optional_probes = []
     options = {}
     annotations = [
-        ['EDID fields', 'EDID structure fields'],
-        ['EDID sections', 'EDID structure sections'],
+        ['fields', 'EDID structure fields'],
+        ['sections', 'EDID structure sections'],
     ]
 
     def __init__(self, **kwargs):
@@ -101,10 +99,7 @@ class Decoder(srd.Decoder):
         self.cache = []
 
     def start(self):
-        self.out_ann = self.add(srd.OUTPUT_ANN, 'edid')
-
-    def report(self):
-        pass
+        self.out_ann = self.register(srd.OUTPUT_ANN)
 
     def decode(self, ss, es, data):
         cmd, data = data