X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Ffluke-45%2Fapi.c;h=96c8a1b324081507b8a07d64d80fec4c3f358506;hb=HEAD;hp=2e80b6bfaae9b563a1d6ba4d78c7089b45f299ab;hpb=c9cfcd25917c4ee5767fa097d4fa8fb8a4888a6d;p=libsigrok.git diff --git a/src/hardware/fluke-45/api.c b/src/hardware/fluke-45/api.c index 2e80b6bf..96c8a1b3 100644 --- a/src/hardware/fluke-45/api.c +++ b/src/hardware/fluke-45/api.c @@ -31,12 +31,6 @@ #include "scpi.h" #include "protocol.h" -/* - * This test violates the SCPI protocol, and confuses other devices. - * Disable it for now, until a better location was found. - */ -#define ECHO_TEST 0 - static const uint32_t scanopts[] = { SR_CONF_CONN, SR_CONF_SERIALCOMM, @@ -68,21 +62,6 @@ static struct sr_dev_inst *probe_device(struct sr_scpi_dev_inst *scpi) unsigned int i; const struct fluke_scpi_dmm_model *model = NULL; gchar *channel_name; -#if ECHO_TEST - char *response; -#endif - -#if ECHO_TEST - /* Test for serial port ECHO enabled. */ - response = NULL; - sr_scpi_get_string(scpi, "ECHO-TEST", &response); - if (response && strcmp(response, "ECHO-TEST") == 0) { - sr_err("Serial port ECHO is ON. Please turn it OFF!"); - g_free(response); - return NULL; - } - g_free(response); -#endif /* Get device IDN. */ if (sr_scpi_get_hw_id(scpi, &hw_info) != SR_OK) {