From: Uwe Hermann Date: Sun, 29 Dec 2013 11:33:10 +0000 (+0100) Subject: victor-dmm: Fix MIN/MAX always being reported. X-Git-Tag: libsigrok-0.3.0~374 X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=b178c79d35be85a3980248061655f15ca2fa85f5;p=libsigrok.git victor-dmm: Fix MIN/MAX always being reported. This fixes bug #228. --- diff --git a/hardware/victor-dmm/protocol.c b/hardware/victor-dmm/protocol.c index ad78224f..a18f0a5b 100644 --- a/hardware/victor-dmm/protocol.c +++ b/hardware/victor-dmm/protocol.c @@ -138,7 +138,7 @@ static void decode_buf(struct sr_dev_inst *sdi, unsigned char *data) } /* Scale flags on the right, continued */ - is_max = is_min = TRUE; + is_max = is_min = FALSE; if (data[5] & 0x04) is_max = TRUE; if (data[5] & 0x08)