X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Funi-t-dmm%2Fprotocol.c;h=ca2568e8661455274e8afbb7d72d102a1d81a313;hb=8d3af2e868c4fcfb0119ec74c541fb5d04a10fce;hp=5843d5e7535b6f66043e532132286e5b62d55e4b;hpb=d9e79c512289201a76e55435c09d7d7e68a1cf1b;p=libsigrok.git diff --git a/hardware/uni-t-dmm/protocol.c b/hardware/uni-t-dmm/protocol.c index 5843d5e7..ca2568e8 100644 --- a/hardware/uni-t-dmm/protocol.c +++ b/hardware/uni-t-dmm/protocol.c @@ -77,7 +77,7 @@ static void decode_packet(struct sr_dev_inst *sdi, int dmm, const uint8_t *buf, udmms[dmm].dmm_details(&analog, info); /* Send a sample packet with one analog value. */ - analog.probes = sdi->probes; + analog.channels = sdi->channels; analog.num_samples = 1; analog.data = &floatval; packet.type = SR_DF_ANALOG;