From: marchelh Date: Sun, 25 Feb 2018 08:20:53 +0000 (+0100) Subject: siglent-sds: Fixed issue with hard coded vdiv. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e8fd02712081a1d7d7ec39ebe4a7fcfe1ee9ddc3;p=libsigrok.git siglent-sds: Fixed issue with hard coded vdiv. --- diff --git a/src/hardware/siglent-sds/protocol.c b/src/hardware/siglent-sds/protocol.c index ab4211a4..80e1bb82 100644 --- a/src/hardware/siglent-sds/protocol.c +++ b/src/hardware/siglent-sds/protocol.c @@ -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;