victor-dmm: Fix MIN/MAX always being reported.

This fixes bug #228.
This commit is contained in:
Uwe Hermann 2013-12-29 12:33:10 +01:00
parent 8b2d41edb3
commit b178c79d35
1 changed files with 1 additions and 1 deletions

View File

@ -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)