]> sigrok.org Git - libsigrok.git/commit
serial-dmm: add support for default connections (USB cables)
authorGerhard Sittig <redacted>
Sun, 9 Jun 2019 08:34:51 +0000 (10:34 +0200)
committerGerhard Sittig <redacted>
Thu, 13 Jun 2019 16:33:23 +0000 (18:33 +0200)
commit0527cc3ad7f47830d9e31e231a1b0bb4010c849d
tree645a4f28b91c1e6062a7f9a2258405b14612318c
parent09c650d5e910d841c49e7b1e86e4126cecd7e060
serial-dmm: add support for default connections (USB cables)

Some meters which are supported by the serial-dmm driver don't strictly
require the user's COM port specification. When a known (usually bundled,
or even builtin) cable type is used, we can provide a default conn= spec
and thus improve usability. Prepare the DMM_CONN() macro, accept user
overrides.
src/hardware/serial-dmm/api.c
src/hardware/serial-dmm/protocol.h