From: Gerhard Sittig Date: Thu, 20 Jun 2019 12:46:22 +0000 (+0200) Subject: dmm/bm86x: drop local packet dump, already done in serial-dmm X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3775ef8c7a582898fb297eeb6df44f9f3995dd50;p=libsigrok.git dmm/bm86x: drop local packet dump, already done in serial-dmm --- diff --git a/src/dmm/bm86x.c b/src/dmm/bm86x.c index 318d4af0..3cfe586d 100644 --- a/src/dmm/bm86x.c +++ b/src/dmm/bm86x.c @@ -50,14 +50,6 @@ SR_PRIV int sr_brymen_bm86x_packet_request(struct sr_serial_dev_inst *serial) SR_PRIV gboolean sr_brymen_bm86x_packet_valid(const uint8_t *buf) { - GString *text; - - if (sr_log_loglevel_get() >= SR_LOG_SPEW) { - text = sr_hexdump_new(buf, BRYMEN_BM86X_PACKET_SIZE); - sr_spew("%s() checking DMM packet: %s", __func__, text->str); - sr_hexdump_free(text); - } - /* * "Model ID3" (3rd HID report, byte 3) is the only documented * fixed value, and must be 0x86. All other positions either depend