]> sigrok.org Git - libsigrok.git/commit
brymen-bm86x: support channel selection (enable/disable channels)
authorGerhard Sittig <redacted>
Fri, 18 Aug 2017 19:43:42 +0000 (21:43 +0200)
committerUwe Hermann <redacted>
Sat, 19 Aug 2017 17:21:54 +0000 (19:21 +0200)
commit5753d2e84b9fdba71c9878c7c64a983218fc4195
treeb2fae05d8cbb922a49441fa0ae6f1bfb78b5155b
parent503519b70a2644851807a7a403f980443d47ac44
brymen-bm86x: support channel selection (enable/disable channels)

The previous implementation unconditionally submitted analog data
whenever values could get extracted out of received serial packets.
This commit checks the channels' enabled state before submission. Care
is taken to obey the user's acquisition limits, exclusively counting
submitted not received values.
src/hardware/brymen-bm86x/protocol.c