]> sigrok.org Git - libsigrok.git/commit
asix-sigma: Nit, separate declaration from assignment statements
authorGerhard Sittig <redacted>
Thu, 25 May 2017 20:09:54 +0000 (22:09 +0200)
committerUwe Hermann <redacted>
Fri, 26 May 2017 20:48:22 +0000 (22:48 +0200)
commitf06fb3e9f1fdfc3780bfa8cb06f76a2d630d6f1c
treee97049a5839e2b506cc04bff061bd702cfcd33f4
parent84a6ed1a126e0877a4166c2aa7d40f409180fdde
asix-sigma: Nit, separate declaration from assignment statements

Minor adjustment for improved readability. Don't hide assignments in
variable declarations. Move initialization of some variables closer to
related evaluation or subsequent processing. Break a complicated looking
roundup expression into several short steps.
src/hardware/asix-sigma/api.c
src/hardware/asix-sigma/protocol.c