]> sigrok.org Git - libsigrok.git/commit
ols: refactor using max_channels
authorWolfram Sang <redacted>
Wed, 2 Jan 2019 12:15:20 +0000 (13:15 +0100)
committerUwe Hermann <redacted>
Sun, 13 Jan 2019 19:07:27 +0000 (20:07 +0100)
commitea642977e57ed0e6aa871d8c485bf11884479a7d
treec21482ba40e36df0d7b6a05f8f3df93c2e8f3ce5
parent4a34a74d738136906200a76980b00881255f3007
ols: refactor using max_channels

Let max_channels really carry the number of maximum channels the
hardware supports. We will handle the limitation of only half the
channels available in 200MHz mode later. Note that there won't be a
regression because we only set the variable but never check it. The
desired result of this patch is the removal of the NUM_CHANNELS macro.
The number of channels needs to be dealt with at runtime.

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