From: Uwe Hermann Date: Sun, 3 Jul 2016 21:38:29 +0000 (+0200) Subject: fx2lafw: Set sr_analog_encoding.digits to 2 for now. X-Git-Tag: libsigrok-0.5.0~286 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0cce2383bd8ca3ec3e406c3370d022161030304c;p=libsigrok.git fx2lafw: Set sr_analog_encoding.digits to 2 for now. --- diff --git a/src/hardware/fx2lafw/protocol.c b/src/hardware/fx2lafw/protocol.c index 2335842d..fc875d04 100644 --- a/src/hardware/fx2lafw/protocol.c +++ b/src/hardware/fx2lafw/protocol.c @@ -421,7 +421,7 @@ SR_PRIV void mso_send_data_proc(struct sr_dev_inst *sdi, sr_session_send(sdi, &logic_packet); - sr_analog_init(&analog, &encoding, &meaning, &spec, 0); + sr_analog_init(&analog, &encoding, &meaning, &spec, 2); analog.meaning->channels = devc->enabled_analog_channels; analog.meaning->mq = SR_MQ_VOLTAGE; analog.meaning->unit = SR_UNIT_VOLT;