]> sigrok.org Git - libsigrok.git/commitdiff
tondaj-sl-814: properly set encoding digits
authorAurelien Jacobs <redacted>
Tue, 23 Aug 2016 22:51:46 +0000 (00:51 +0200)
committerAurelien Jacobs <redacted>
Tue, 23 Aug 2016 23:01:23 +0000 (01:01 +0200)
src/hardware/tondaj-sl-814/protocol.c

index 4daf5af5abdd4ca3056ae478f6214c53f6a47a14..cf8851918b4edf20a29ffcb3889ba7d0c8fa4cf9 100644 (file)
@@ -98,7 +98,7 @@ static void decode_packet(struct sr_dev_inst *sdi)
 
        devc = sdi->priv;
 
-       sr_analog_init(&analog, &encoding, &meaning, &spec, 0);
+       sr_analog_init(&analog, &encoding, &meaning, &spec, 1);
 
        parse_packet(devc->buf, &floatval, &analog);