X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fkecheng-kc-330b%2Fprotocol.c;h=886be6f742c013e4bab8922179aa409288812ec6;hb=841aadc95b918fd883d36c6c8555f8cb0e3cd049;hp=a6ec3ac09ace26999e61029a1a3737bfad1e6444;hpb=2c9111820afecf909b1a349df38c7b196c5298e7;p=libsigrok.git 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;