diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-29 22:49:04 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-11-29 22:49:04 +0100 |
commit | 9d09d6eddd838dc7720118a13772b980107c7399 (patch) | |
tree | fde30127cfd60657882f2cfbccc0aedf03028df2 /decoders/enc28j60 | |
parent | 1865f48de72cebc0c8031bce8e5aaa2a3e1c5092 (diff) | |
download | libsigrokdecode-9d09d6eddd838dc7720118a13772b980107c7399.tar.gz libsigrokdecode-9d09d6eddd838dc7720118a13772b980107c7399.zip |
decoders: Use a slightly more consistent/logical annotation row setup.
Generally show "bits" and other smaller annotations in rows that come
before "larger" annotations (in later rows).
Diffstat (limited to 'decoders/enc28j60')
-rw-r--r-- | decoders/enc28j60/pd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoders/enc28j60/pd.py b/decoders/enc28j60/pd.py index f7a6625..e8ce6e7 100644 --- a/decoders/enc28j60/pd.py +++ b/decoders/enc28j60/pd.py @@ -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,)), ) |