manson-hcs-3xxx: properly set encoding digits
This commit is contained in:
parent
841c15a5fa
commit
1af428d018
|
@ -130,7 +130,7 @@ static void send_sample(struct sr_dev_inst *sdi)
|
||||||
|
|
||||||
devc = sdi->priv;
|
devc = sdi->priv;
|
||||||
|
|
||||||
sr_analog_init(&analog, &encoding, &meaning, &spec, 0);
|
sr_analog_init(&analog, &encoding, &meaning, &spec, 2);
|
||||||
|
|
||||||
packet.type = SR_DF_ANALOG;
|
packet.type = SR_DF_ANALOG;
|
||||||
packet.payload = &analog;
|
packet.payload = &analog;
|
||||||
|
|
Loading…
Reference in New Issue