From b178c79d35be85a3980248061655f15ca2fa85f5 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sun, 29 Dec 2013 12:33:10 +0100 Subject: [PATCH] victor-dmm: Fix MIN/MAX always being reported. This fixes bug #228. --- hardware/victor-dmm/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)