]> sigrok.org Git - libsigrok.git/commit
rdtech-um: data type nits, common expressions, for loop iteration
authorGerhard Sittig <redacted>
Wed, 15 Mar 2023 17:17:31 +0000 (18:17 +0100)
committerGerhard Sittig <redacted>
Thu, 16 Mar 2023 13:29:30 +0000 (14:29 +0100)
commit4441e5738d185d17775b4361f76372482bdd6fd2
tree9d9564e9c7667f45052884bb8ded1ad4e9eea246
parentbcbf2b5953328142d99ef15bbd76cd703317f512
rdtech-um: data type nits, common expressions, for loop iteration

Address several style nits: Use size types where appropriate. Avoid
repeated complex expressions in the profile lookup. Don't mix different
types of iterations in a for() loop (traversal of a channels list, and
indexing the channels' blob access details). Rename a generic identifier
in the probe routine.
src/hardware/rdtech-um/protocol.c