]> sigrok.org Git - libsigrok.git/commitdiff
uni-t-dmm: Add missing special cases for some ES519xx protocols.
authorUwe Hermann <redacted>
Tue, 23 May 2017 23:29:28 +0000 (01:29 +0200)
committerUwe Hermann <redacted>
Tue, 23 May 2017 23:29:28 +0000 (01:29 +0200)
src/hardware/uni-t-dmm/protocol.c

index 561a612801430812090695cf92552f78d8788591..5503584e33bcfef256665212dc2c51aae9461ecc 100644 (file)
@@ -246,6 +246,8 @@ static int get_and_handle_data(struct sr_dev_inst *sdi)
        for (i = 0; i < num_databytes_in_chunk; i++, devc->buflen++) {
                pbuf[devc->buflen] = buf[1 + i];
                if ((dmm->packet_parse == sr_es519xx_19200_14b_parse) ||
+                   (dmm->packet_parse == sr_es519xx_19200_11b_parse) ||
+                   (dmm->packet_parse == sr_es519xx_2400_11b_parse) ||
                    (dmm->packet_parse == sr_ut71x_parse)) {
                        /* Mask off the parity bit. */
                        pbuf[devc->buflen] &= ~(1 << 7);