mic-985xx: fix encoding digits
This commit is contained in:
parent
1db537c3eb
commit
b66a0b5bdd
|
@ -113,7 +113,7 @@ static int handle_packet(const uint8_t *buf, struct sr_dev_inst *sdi, int idx)
|
||||||
return SR_ERR;
|
return SR_ERR;
|
||||||
}
|
}
|
||||||
|
|
||||||
sr_analog_init(&analog, &encoding, &meaning, &spec, 3);
|
sr_analog_init(&analog, &encoding, &meaning, &spec, 1);
|
||||||
|
|
||||||
/* Common values for both channels. */
|
/* Common values for both channels. */
|
||||||
packet.type = SR_DF_ANALOG;
|
packet.type = SR_DF_ANALOG;
|
||||||
|
|
Loading…
Reference in New Issue