]> sigrok.org Git - libsigrok.git/commit - src/output/srzip.c
output/srzip: rename variable for archive unit size
authorGerhard Sittig <redacted>
Fri, 29 Dec 2023 11:17:31 +0000 (12:17 +0100)
committerGerhard Sittig <redacted>
Fri, 29 Dec 2023 20:23:47 +0000 (21:23 +0100)
commite4cfebe081013a6338e29dcf337755671aec3eb0
tree3c5ca1cb950cd0eda94004e4e0daef3897ff6068
parentf1b22e5627dc4cd060ff0c7a3a09f685903e3a26
output/srzip: rename variable for archive unit size

The srzip output module needs to deal with two unit sizes. One that got
derived from the device's or input's logic channels' total count, and
will end up being used in the ZIP archive. And one which is seen when
the session feed provides sample data.

Rename the identifier to reflect this distinction. See a word diff for
the essence of the change.

Also rephrase the zip_append_queue() invocation for improved
readability. Use line breaks to illustrate parameter sets which are
related, and separate them from other parameters which are unrelated.
src/output/srzip.c