]> sigrok.org Git - libsigrok.git/commit
several DMMs: set DC flag for diode mode
authorGerhard Sittig <redacted>
Sun, 4 Feb 2018 21:26:23 +0000 (22:26 +0100)
committerUwe Hermann <redacted>
Fri, 9 Feb 2018 21:40:58 +0000 (22:40 +0100)
commit64aa214a22fdbc4a083f3cd6bd06755e6784b96c
tree38304ed9d30f4e52501fcac5ec34f20e55da7db2
parentb8278e0943317cdf6594057ae9482c786c607f04
several DMMs: set DC flag for diode mode

Few DMM drivers already did it. This commit adjusts the remaining DMM
drivers, to set the "DC" flag for measurements in diode mode.

This fixes bug #144.

Although I don't have the hardware to test, the nature of the change and
the arrangement of driver code suggests it's good. When a meter already
communicated the "DC" status, the change does nothing and won't harm.
The change ensures "DC" is flagged for those meters which previously
didn't, which is desirable.
15 files changed:
src/dmm/asycii.c
src/dmm/bm25x.c
src/dmm/dtm0660.c
src/dmm/es519xx.c
src/dmm/fs9721.c
src/dmm/fs9922.c
src/dmm/metex14.c
src/dmm/ut71x.c
src/dmm/vc870.c
src/hardware/agilent-dmm/protocol.c
src/hardware/brymen-bm86x/protocol.c
src/hardware/brymen-dmm/parser.c
src/hardware/fluke-dmm/protocol.c
src/hardware/gmc-mh-1x-2x/protocol.c
src/hardware/victor-dmm/protocol.c