]> sigrok.org Git - libsigrok.git/commitdiff
dmm/bm86x: drop local packet dump, already done in serial-dmm
authorGerhard Sittig <redacted>
Thu, 20 Jun 2019 12:46:22 +0000 (14:46 +0200)
committerUwe Hermann <redacted>
Thu, 20 Jun 2019 15:21:47 +0000 (17:21 +0200)
src/dmm/bm86x.c

index 318d4af011c9af61d56e5253fb6e3f13259cf824..3cfe586db7bdb978b4be29ddf4de8e36c5330f81 100644 (file)
@@ -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