X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fvictor-dmm%2Fprotocol.c;h=13a9befa2322f636b7b7d4c3b3b194d048d91a60;hb=b295fa5190b5c75d37d66de84a0884e46a23d78e;hp=c25ac52c464a13c998ae51c406c61fd9328da75c;hpb=695dc859c15ba4190f5c1aa2e1a6e2dc6a6e5845;p=libsigrok.git diff --git a/src/hardware/victor-dmm/protocol.c b/src/hardware/victor-dmm/protocol.c index c25ac52c..13a9befa 100644 --- a/src/hardware/victor-dmm/protocol.c +++ b/src/hardware/victor-dmm/protocol.c @@ -264,7 +264,7 @@ static void decode_buf(struct sr_dev_inst *sdi, unsigned char *data) packet.payload = &analog; sr_session_send(sdi, &packet); - devc->num_samples++; + sr_sw_limits_update_samples_read(&devc->limits, 1); } SR_PRIV int victor_dmm_receive_data(struct sr_dev_inst *sdi, unsigned char *buf)