]> sigrok.org Git - libsigrok.git/commit
rdtech-dps: address simple style issues
authorGerhard Sittig <redacted>
Thu, 28 Sep 2023 10:40:48 +0000 (12:40 +0200)
committerGerhard Sittig <redacted>
Thu, 28 Sep 2023 11:43:50 +0000 (13:43 +0200)
commit1ac04e6d8b7dfdced2c1bb8a6e7a17d76025c13c
treefd905bbdb48f726f3724d96902f4aedbdb42f150
parentf0f6b926c296a0a6e5fca1aba51cec77521c2f4c
rdtech-dps: address simple style issues

Coding style nits: Use const data for model lists. Prefer size types.
Link sdi and devc immediately after allocation. Skip unused wire fields
by reading them too, avoid breaking the reviewer's flow.

Cosmetics, readability: Do place trailing commas in initializers. Reduce
text line length. Break long lines in more appropriate locations that
are more readable. Eliminate unmotivated pre-increment operators.
src/hardware/rdtech-dps/api.c
src/hardware/rdtech-dps/protocol.c
src/hardware/rdtech-dps/protocol.h