tondaj-sl-814: properly set encoding digits
This commit is contained in:
parent
53b4ea3921
commit
d043b29d5c
|
@ -98,7 +98,7 @@ static void decode_packet(struct sr_dev_inst *sdi)
|
|||
|
||||
devc = sdi->priv;
|
||||
|
||||
sr_analog_init(&analog, &encoding, &meaning, &spec, 0);
|
||||
sr_analog_init(&analog, &encoding, &meaning, &spec, 1);
|
||||
|
||||
parse_packet(devc->buf, &floatval, &analog);
|
||||
|
||||
|
|
Loading…
Reference in New Issue