]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/mdio/pd.py
mdio: accept MDIO READ without previous ADDRESS command
[libsigrokdecode.git] / decoders / mdio / pd.py
index 9ea3a27349e372fbc0d5263c4c03b6a114658af2..25229129516c748548539b0775efa455af441a47 100644 (file)
@@ -95,7 +95,7 @@ class Decoder(srd.Decoder):
             if self.clause45 and self.clause45_addr != -1:
                 decoded_min += str.format('ADDR: %04X ' % self.clause45_addr)
             elif self.clause45:
-                decoded_min += str.format('ADDR: UKWN ' % self.clause45_addr)
+                decoded_min += str.format('ADDR: UKWN ')
 
             if self.clause45 and self.opcode > 1 \
             or (not self.clause45 and self.opcode):