]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/edid/pd.py
tests/check_session.c: Fix compiler warning.
[libsigrokdecode.git] / decoders / edid / pd.py
index 41b790328dea70bc969bbbc55d113c625bc1e2c4..e655fdd0a187a71bd09e2134d1937c7103cec391 100644 (file)
@@ -68,12 +68,12 @@ xy_ratio = [
     (16, 9),
 ]
 
-# Annotation types
+# Annotation classes
 ANN_FIELDS = 0
 ANN_SECTIONS = 1
 
 class Decoder(srd.Decoder):
-    api_version = 1
+    api_version = 2
     id = 'edid'
     name = 'EDID'
     longname = 'Extended Display Identification Data'
@@ -465,4 +465,3 @@ class Decoder(srd.Decoder):
             else:
                 if self.cache[i+2] == 0 or self.cache[i+4] == 0:
                     self.decode_descriptor(i)
-