]> sigrok.org Git - libsigrok.git/blobdiff - hardware/victor-dmm/protocol.c
Replace 'probe' with 'channel' in most places.
[libsigrok.git] / hardware / victor-dmm / protocol.c
index ad78224fab1461c73c8ab780f899f4ad15a672db..6af51419326694c6241c349b850bb5c04a70a393 100644 (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)
@@ -252,7 +252,7 @@ static void decode_buf(struct sr_dev_inst *sdi, unsigned char *data)
        if (is_relative)
                analog.mqflags |= SR_MQFLAG_RELATIVE;
 
-       analog.probes = sdi->probes;
+       analog.channels = sdi->channels;
        analog.num_samples = 1;
        analog.data = &fvalue;
        packet.type = SR_DF_ANALOG;