From: Aurelien Jacobs Date: Tue, 23 Aug 2016 22:51:46 +0000 (+0200) Subject: tondaj-sl-814: properly set encoding digits X-Git-Tag: libsigrok-0.5.0~242 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d043b29d5c99c7b72044d19c758c47de4138f0e8;p=libsigrok.git tondaj-sl-814: properly set encoding digits --- diff --git a/src/hardware/tondaj-sl-814/protocol.c b/src/hardware/tondaj-sl-814/protocol.c index 4daf5af5..cf885191 100644 --- a/src/hardware/tondaj-sl-814/protocol.c +++ b/src/hardware/tondaj-sl-814/protocol.c @@ -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);