]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/atten-pps3xxx/protocol.c
Document if or why sometimes digits/spec_digits is 0.
[libsigrok.git] / src / hardware / atten-pps3xxx / protocol.c
index 0102adbd9a33b731cd021f7b6d7e632b3067be01..7cf0f9342e3d8bf8447e8d920672e5863a98f79b 100644 (file)
@@ -47,6 +47,7 @@ static void handle_packet(const struct sr_dev_inst *sdi)
        devc = sdi->priv;
        dump_packet("received", devc->packet);
 
+       /* Note: digits/spec_digits will be overridden later. */
        sr_analog_init(&analog, &encoding, &meaning, &spec, 0);
 
        packet.type = SR_DF_ANALOG;