From 53b4ea3921a004432d9531ef3b0d9883c2be634e Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Wed, 24 Aug 2016 00:51:22 +0200 Subject: [PATCH] kecheng-kc-330b: properly set encoding digits --- src/hardware/kecheng-kc-330b/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/kecheng-kc-330b/protocol.c b/src/hardware/kecheng-kc-330b/protocol.c index a6ec3ac0..886be6f7 100644 --- a/src/hardware/kecheng-kc-330b/protocol.c +++ b/src/hardware/kecheng-kc-330b/protocol.c @@ -109,7 +109,7 @@ static void send_data(const struct sr_dev_inst *sdi, void *buf, unsigned int buf devc = sdi->priv; - 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->mqflags = devc->mqflags; analog.meaning->unit = SR_UNIT_DECIBEL_SPL;