]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/xfp/pd.py
pwm: add period annotation
[libsigrokdecode.git] / decoders / xfp / pd.py
index 975215ac6c7a7d5ba64dfd686c00bc9182db6223..9a6543c2404ebf08db5d64ec880993dc48b87200 100644 (file)
@@ -191,7 +191,7 @@ AUX_TYPES = [
 ]
 
 class Decoder(srd.Decoder):
-    api_version = 1
+    api_version = 2
     id = 'xfp'
     name = 'XFP'
     longname = '10 Gigabit Small Form Factor Pluggable Module (XFP)'
@@ -644,4 +644,3 @@ class Decoder(srd.Decoder):
         self.annotate("AUX1 monitoring", aux)
         aux = AUX_TYPES[data[0] & 0x0f]
         self.annotate("AUX2 monitoring", aux)
-