kecheng-kc-330b: properly set encoding digits
This commit is contained in:
parent
dcb6fcbb7b
commit
53b4ea3921
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue