]> sigrok.org Git - libsigrok.git/commit
serial-dmm: count analog DMM channels starting at 1
authorGerhard Sittig <redacted>
Sun, 30 Sep 2018 02:36:39 +0000 (04:36 +0200)
committerUwe Hermann <redacted>
Tue, 2 Oct 2018 17:01:25 +0000 (19:01 +0200)
commit48e2992f8684ece7200fc9aabc2bf45625be8ef0
treed4779f7672077d0f493cb16711d0232dc9f0b711
parent3ef305b0798bdad70d8b57a606139446507a99e0
serial-dmm: count analog DMM channels starting at 1

Commit 556a926d432dd introduced support for multiple displays in
subdrivers of serial-dmm, but also changed user visible channel numbers
to start from 0. Restore the previous behaviour, start counting from 1
which users may perceive as more natural (serial-dmm used to start at P1
in the past, scopes start with CH1 as well).
src/hardware/serial-dmm/api.c