]> sigrok.org Git - libsigrok.git/commit
fluke-dmm: Cleanup Fluke 28x QM handling
authorAndreas Sandberg <redacted>
Sun, 29 Sep 2019 21:48:52 +0000 (22:48 +0100)
committerSoeren Apel <redacted>
Mon, 7 Oct 2024 12:47:18 +0000 (14:47 +0200)
commit73afd1a2f7c5008eacb738bb00a2246f96823182
tree6e03d8034a2ba4c89ec14890369c31334c782d78
parente6fcb482ad22bb5671bdc95ec742591d2fa684fe
fluke-dmm: Cleanup Fluke 28x QM handling

The code that parses QM responses from Fluke 28x DMMs uses a long
series of if-else statements to determine the type of measurement
reported by the device. Rewrite this to use a conversion table that
contains a mapping between DMM units and Sigrok's internal units.

Signed-off-by: Andreas Sandberg <redacted>
Makefile.am
src/hardware/fluke-dmm/fluke-28x.c [new file with mode: 0644]
src/hardware/fluke-dmm/protocol.c
src/hardware/fluke-dmm/protocol.h