X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Frdtech-tc%2Fprotocol.c;fp=src%2Fhardware%2Frdtech-tc%2Fprotocol.c;h=99297ba6f8fb75595e1ec94110f2c849ca59fde8;hb=48b7c90166221e69aee1b618fe8ecced8be90f9b;hp=dc35ca52d096e7e0a5371c0ee92339bf458372a7;hpb=1fa04876398ded830b40e44c8055e01c5e2fb977;p=libsigrok.git diff --git a/src/hardware/rdtech-tc/protocol.c b/src/hardware/rdtech-tc/protocol.c index dc35ca52..99297ba6 100644 --- a/src/hardware/rdtech-tc/protocol.c +++ b/src/hardware/rdtech-tc/protocol.c @@ -265,7 +265,7 @@ static int handle_poll_data(struct sr_dev_inst *sdi) std_session_send_df_frame_begin(sdi); for (ch_idx = 0; ch_idx < devc->channel_count; ch_idx++) { pch = &devc->channels[ch_idx]; - ret = bv_get_value(&v, &pch->spec, poll_pkt, TC_POLL_LEN); + ret = bv_get_value_len(&v, &pch->spec, poll_pkt, TC_POLL_LEN); if (ret != SR_OK) break; ret = feed_queue_analog_submit(devc->feeds[ch_idx], v, 1);