summaryrefslogtreecommitdiff
path: root/srd.c
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2022-12-30 17:13:19 +0100
committerGerhard Sittig <gerhard.sittig@gmx.net>2023-01-09 20:13:35 +0100
commita6ec01439c60e589d7c6f4632f60e26ee317be9f (patch)
tree0fd65bc8d1cc03617e51bce9aa53429dbb0e36a8 /srd.c
parent4d86276d6434f9bcdd96bc2ddaa316a9a01da461 (diff)
downloadlibsigrokdecode-a6ec01439c60e589d7c6f4632f60e26ee317be9f.tar.gz
libsigrokdecode-a6ec01439c60e589d7c6f4632f60e26ee317be9f.zip
adf435x: shuffle register description table
Move table columns, put the bit field position to the front before the name to get a less fragile visual appearance. All fields have a position and a name (of variable length), some of them have a "parser" (actually a formatter for their content). Address Python style while we are here: Prefer tuples over lists for immutable data. Add trailing commas to reduce future diff sizes. Add a TODO comment about optional content checkers. The current decoder implementation lets invalid register data pass unnoticed. [ see a word diff for the commit's essence ]
Diffstat (limited to 'srd.c')
0 files changed, 0 insertions, 0 deletions