From 28b424349363a9002e7af7300a7f2941a8469004 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Tue, 18 Nov 2014 00:24:08 +0100 Subject: [PATCH] victor-dmm: Set spec digits to 3, matching the display. --- src/hardware/victor-dmm/protocol.c | 1 + 1 file changed, 1 insertion(+) 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;