mic-985xx: fix encoding digits

This commit is contained in:
Aurelien Jacobs 2016-08-21 17:01:19 +02:00 committed by Uwe Hermann
parent 1db537c3eb
commit b66a0b5bdd
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ static int handle_packet(const uint8_t *buf, struct sr_dev_inst *sdi, int idx)
return SR_ERR;
}
sr_analog_init(&analog, &encoding, &meaning, &spec, 3);
sr_analog_init(&analog, &encoding, &meaning, &spec, 1);
/* Common values for both channels. */
packet.type = SR_DF_ANALOG;