]> sigrok.org Git - libsigrok.git/commit
ols: drop wrong usage of macro
authorWolfram Sang <redacted>
Wed, 2 Jan 2019 12:15:17 +0000 (13:15 +0100)
committerUwe Hermann <redacted>
Sun, 13 Jan 2019 19:07:27 +0000 (20:07 +0100)
commitbe15c51ed49fcd5b725e1174247c92ee295b2b3b
tree0cf0f3d0539a1c1f61aa7e52e5ee0dbb72729ffd
parent6e5a1a0178e24da5faf239dc78ab761d9f5af572
ols: drop wrong usage of macro

commit f51acd69 ("ols: combine demux samples") wrongly replaced the bit
pattern of 0x20 with the number of channels which just happens to be 32
as well. So, the code works but is confusing to read. Reword the
for-loop to make it more comprehensible.

Signed-off-by: Wolfram Sang <redacted>
src/hardware/openbench-logic-sniffer/protocol.c