diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2022-12-30 17:13:19 +0100 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2023-01-09 20:13:35 +0100 |
commit | a6ec01439c60e589d7c6f4632f60e26ee317be9f (patch) | |
tree | 0fd65bc8d1cc03617e51bce9aa53429dbb0e36a8 /decoders/can/test | |
parent | 4d86276d6434f9bcdd96bc2ddaa316a9a01da461 (diff) | |
download | libsigrokdecode-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 'decoders/can/test')
0 files changed, 0 insertions, 0 deletions