From: Aurelien Jacobs Date: Tue, 23 Aug 2016 22:51:08 +0000 (+0200) Subject: colead-slm: properly set encoding digits X-Git-Tag: libsigrok-0.5.0~244 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=dcb6fcbb7b3b0c9a3fe56a1be3cc1c9e45ebd03c;p=libsigrok.git colead-slm: properly set encoding digits --- diff --git a/src/hardware/colead-slm/protocol.c b/src/hardware/colead-slm/protocol.c index 6b30459c..d5c75b3c 100644 --- a/src/hardware/colead-slm/protocol.c +++ b/src/hardware/colead-slm/protocol.c @@ -74,7 +74,7 @@ static void process_packet(const struct sr_dev_inst *sdi) } fvalue /= 10; - sr_analog_init(&analog, &encoding, &meaning, &spec, 0); + sr_analog_init(&analog, &encoding, &meaning, &spec, 1); analog.meaning->mq = SR_MQ_SOUND_PRESSURE_LEVEL; analog.meaning->unit = SR_UNIT_DECIBEL_SPL; analog.meaning->channels = sdi->channels;