]> sigrok.org Git - libsigrok.git/commit - src/session_driver.c
Have remaining drivers default to digits=2 for analog values.
authorUwe Hermann <redacted>
Sun, 28 Aug 2016 21:52:48 +0000 (23:52 +0200)
committerUwe Hermann <redacted>
Sun, 28 Aug 2016 22:25:19 +0000 (00:25 +0200)
commit7dcaddd3f0df3a87dae252eb1f64f7b0e3997b8f
treee60af6732c416b7bd568838cbd160082df498a69
parent869c83751149aa03cda072355c2b670569cdfc0d
Have remaining drivers default to digits=2 for analog values.

The default so far was 0, which meant there would be no significant
digits at all, yielding results that looked strange/wrong to the user.

Long-term all remaining drivers should be fixed to use the actual,
correct digits and spec_digits values according to the device's
capabilities and/or datasheet/manual. Until that is done, a default
of digits=2 is used as a temporary workaround.

This fixes the remaining parts of bug #815.
src/hardware/brymen-dmm/protocol.c
src/hardware/fluke-dmm/fluke.c
src/hardware/hameg-hmo/protocol.c
src/hardware/norma-dmm/protocol.c
src/hardware/testo/protocol.c
src/hardware/yokogawa-dlm/protocol.c
src/input/wav.c
src/session_driver.c