]> sigrok.org Git - libsigrok.git/commit
rdtech-um: adjust read/write timeout style for text line length
authorGerhard Sittig <redacted>
Wed, 15 Mar 2023 17:47:54 +0000 (18:47 +0100)
committerGerhard Sittig <redacted>
Thu, 16 Mar 2023 13:29:30 +0000 (14:29 +0100)
commitae33433bec2a5648fed05594810a9a2dca933586
tree3dd7c25e2d58d8b2044d214c0e418c2327374707
parent4441e5738d185d17775b4361f76372482bdd6fd2
rdtech-um: adjust read/write timeout style for text line length

Avoid the combination of function calls and the evaluation of their
return values for flow control in the same statement. Which improves
readability during maintenance. Rename identifiers to keep text line
lengths within style constraints.

Comment on non-trivial global parameters, and essential periodic jobs
in the main loop callback while we are here.
src/hardware/rdtech-um/protocol.c