This is a temporary fix only, since a major rework of uni-t-dmm is being
done at the moment, soon to be merged.
if (data_byte_counter == NUM_DATA_BYTES) {
log_dmm_packet(pbuf);
data_byte_counter = 0;
- if (!sr_fs9721_packet_valid(pbuf)) {
- sr_err("Invalid packet.");
- return TRUE;
+ if (dmm == VOLTCRAFT_VC820) {
+ if (!sr_fs9721_packet_valid(pbuf)) {
+ sr_err("Invalid packet.");
+ return TRUE;
+ }
}
decode_packet(devc, dmm, pbuf);
memset(pbuf, 0x00, NUM_DATA_BYTES);