]> sigrok.org Git - libsigrok.git/commitdiff
manson-hcs-3xxx: properly set encoding digits
authorAurelien Jacobs <redacted>
Sun, 21 Aug 2016 14:56:56 +0000 (16:56 +0200)
committerUwe Hermann <redacted>
Tue, 23 Aug 2016 10:58:05 +0000 (12:58 +0200)
src/hardware/manson-hcs-3xxx/protocol.c

index 5b9383269f462a5ad9ea64590005d2d2c2dc9357..04e18a5fee96297f706f0af7ff8fec428db78479 100644 (file)
@@ -130,7 +130,7 @@ static void send_sample(struct sr_dev_inst *sdi)
 
        devc = sdi->priv;
 
-       sr_analog_init(&analog, &encoding, &meaning, &spec, 0);
+       sr_analog_init(&analog, &encoding, &meaning, &spec, 2);
 
        packet.type = SR_DF_ANALOG;
        packet.payload = &analog;