]> sigrok.org Git - libsigrok.git/commitdiff
fx2lafw: Set sr_analog_encoding.digits to 2 for now.
authorUwe Hermann <redacted>
Sun, 3 Jul 2016 21:38:29 +0000 (23:38 +0200)
committerUwe Hermann <redacted>
Sun, 3 Jul 2016 21:38:29 +0000 (23:38 +0200)
src/hardware/fx2lafw/protocol.c

index 2335842d59f709c218ba654f7ac2cc19411c0016..fc875d04446d2098b60827005f3a7acbe7b4468d 100644 (file)
@@ -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;