From: Bert Vermeulen Date: Mon, 17 Nov 2014 23:24:08 +0000 (+0100) Subject: victor-dmm: Set spec digits to 3, matching the display. X-Git-Tag: libsigrok-0.4.0~762 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=28b424349363a9002e7af7300a7f2941a8469004;p=libsigrok.git victor-dmm: Set spec digits to 3, matching the display. --- diff --git a/src/hardware/victor-dmm/protocol.c b/src/hardware/victor-dmm/protocol.c index 6f72d947..1d2910fb 100644 --- a/src/hardware/victor-dmm/protocol.c +++ b/src/hardware/victor-dmm/protocol.c @@ -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;