From: Aurelien Jacobs Date: Sun, 28 Aug 2016 20:53:04 +0000 (+0200) Subject: appa-55ii: properly set encoding digits also for log memory reception X-Git-Tag: libsigrok-0.5.0~235 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a005472fa226ad23b2df42956c448c3cfb6eefa3;p=libsigrok.git appa-55ii: properly set encoding digits also for log memory reception --- diff --git a/src/hardware/appa-55ii/protocol.c b/src/hardware/appa-55ii/protocol.c index a7cfd48d..ef265ff0 100644 --- a/src/hardware/appa-55ii/protocol.c +++ b/src/hardware/appa-55ii/protocol.c @@ -163,7 +163,7 @@ static void appa_55ii_log_data_parse(struct sr_dev_inst *sdi) /* FIXME: Timestamp should be sent in the packet. */ sr_dbg("Timestamp: %02d:%02d:%02d", buf[2], buf[3], buf[4]); - sr_analog_init(&analog, &encoding, &meaning, &spec, 0); + sr_analog_init(&analog, &encoding, &meaning, &spec, 1); analog.num_samples = 1; analog.meaning->mq = SR_MQ_TEMPERATURE; analog.meaning->unit = SR_UNIT_CELSIUS;