]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/enc28j60/pd.py
decoders: Use a slightly more consistent/logical annotation row setup.
[libsigrokdecode.git] / decoders / enc28j60 / pd.py
index f7a6625a22c7b58602895dbe44cf1130d7ae5126..e8ce6e7b68c741c8f6af6b629be572d4ff2c1fac 100644 (file)
@@ -67,9 +67,9 @@ class Decoder(srd.Decoder):
         ('warning', 'Warning'),
     )
     annotation_rows = (
+        ('fields', 'Fields', (ANN_DATA, ANN_REG_ADDR)),
         ('commands', 'Commands',
             (ANN_RCR, ANN_RBM, ANN_WCR, ANN_WBM, ANN_BFS, ANN_BFC, ANN_SRC)),
-        ('fields', 'Fields', (ANN_DATA, ANN_REG_ADDR)),
         ('warnings', 'Warnings', (ANN_WARNING,)),
     )