]> sigrok.org Git - libsigrok.git/commitdiff
victor-dmm: Set spec digits to 3, matching the display.
authorBert Vermeulen <redacted>
Mon, 17 Nov 2014 23:24:08 +0000 (00:24 +0100)
committerBert Vermeulen <redacted>
Mon, 17 Nov 2014 23:24:08 +0000 (00:24 +0100)
src/hardware/victor-dmm/protocol.c

index 6f72d9470f1ee0b843599f77720382153f6eec5b..1d2910fbfb4ddff77c8772ea850077a3b47745d6 100644 (file)
@@ -168,6 +168,7 @@ static void decode_buf(struct sr_dev_inst *sdi, unsigned char *data)
                fvalue = -fvalue;
 
        sr_analog_init(&analog, &encoding, &meaning, &spec, 4);
+       spec.spec_digits = 3;
 
        /* Measurement mode */
        meaning.channels = sdi->channels;