From: Uwe Hermann Date: Tue, 23 May 2017 23:29:28 +0000 (+0200) Subject: uni-t-dmm: Add missing special cases for some ES519xx protocols. X-Git-Tag: libsigrok-0.5.0~53 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=06f0872ea95f88a2f944f0c9b7a477a7793dfe06;p=libsigrok.git uni-t-dmm: Add missing special cases for some ES519xx protocols. --- diff --git a/src/hardware/uni-t-dmm/protocol.c b/src/hardware/uni-t-dmm/protocol.c index 561a6128..5503584e 100644 --- a/src/hardware/uni-t-dmm/protocol.c +++ b/src/hardware/uni-t-dmm/protocol.c @@ -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);