uni-t-dmm: Add missing special cases for some ES519xx protocols.
This commit is contained in:
parent
8a68f96eae
commit
06f0872ea9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue