]> sigrok.org Git - libsigrok.git/commitdiff
kingst-la2016: address trivial style nits (whitespace, braces, line length)
authorGerhard Sittig <redacted>
Thu, 25 Feb 2021 20:31:21 +0000 (21:31 +0100)
committerGerhard Sittig <redacted>
Tue, 16 Mar 2021 20:40:32 +0000 (21:40 +0100)
Improve readability by addressing the trivial style nits in the driver.

Break the channel list into two times eight instead of nine plus seven
items. Put braces around all branches if one of them has braces. Add
braces to multi line branches despite most of the branch just being a
comment -- it's still many lines. Break extra long text lines, adjust
the position of operators when single expressions span multiple lines.

Drop unnecessary parentheses around single variables and auto
incrementing pointer dereferences. Adjust whitespace especially for
pointer data types, and arith operators.


No differences found