From 06f0872ea95f88a2f944f0c9b7a477a7793dfe06 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 24 May 2017 01:29:28 +0200 Subject: [PATCH] uni-t-dmm: Add missing special cases for some ES519xx protocols. --- src/hardware/uni-t-dmm/protocol.c | 2 ++ 1 file changed, 2 insertions(+) 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);