]> sigrok.org Git - libsigrok.git/commit
rdtech-tc: move assignments out of declarations
authorGerhard Sittig <redacted>
Thu, 16 Mar 2023 02:18:14 +0000 (03:18 +0100)
committerGerhard Sittig <redacted>
Thu, 16 Mar 2023 13:29:30 +0000 (14:29 +0100)
commitc1f9428a6c95e639e3d613738b6a2b08c8496ee0
tree3ae8daf099844fd466a1a442e8391db7f39207f7
parenta780870c63b58d4582fb92844c4625828e4b3e02
rdtech-tc: move assignments out of declarations

Separate the declaration of variables from their manipulation. Keep
initial assignments and subsequent updates and evaluation of results
in closer proximity.

Group related instructions while we are here, avoid scatter. Break
long lines, and add braces around complex multi-line statements.
src/hardware/rdtech-tc/api.c
src/hardware/rdtech-tc/protocol.c