]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/victor-dmm/protocol.c
victor-dmm: Set spec digits to 3, matching the display.
[libsigrok.git] / 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;