]> sigrok.org Git - libsigrok.git/commitdiff
siglent-sds: Fixed issue with hard coded vdiv.
authormarchelh <redacted>
Sun, 25 Feb 2018 08:20:53 +0000 (09:20 +0100)
committerUwe Hermann <redacted>
Sat, 3 Mar 2018 16:46:15 +0000 (17:46 +0100)
src/hardware/siglent-sds/protocol.c

index ab4211a40eff18b69999ba8251d50e046fbd41b0..80e1bb82fec6bfb2d9af4bc4b9e207a0a09a9446 100644 (file)
@@ -274,8 +274,6 @@ static int siglent_sds_read_header(struct sr_dev_inst *sdi)
        memcpy(&desc_length, buf + 36, 4); /* Descriptor block length */
        memcpy(&dataLength, buf + 60, 4); /* Data block length */
 
-       devc->vdiv[channelIndex] = 2;
-       devc->vert_offset[channelIndex] = 0;
        devc->block_header_size = desc_length + 15;
        ret = dataLength;