From: Guido Trentalancia Date: Tue, 20 Nov 2018 22:24:59 +0000 (+0100) Subject: hameg-hmo: Remove duplicate function call. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=0c96de7223a47a21e509bc2c4560e50651d389e5;p=libsigrok.git hameg-hmo: Remove duplicate function call. This call was inadvertently left around in commit 8cccbac8da97397b61aa094c67e62ee922b628ed. --- diff --git a/src/hardware/hameg-hmo/protocol.c b/src/hardware/hameg-hmo/protocol.c index 8ba2a35e..ef30c6f7 100644 --- a/src/hardware/hameg-hmo/protocol.c +++ b/src/hardware/hameg-hmo/protocol.c @@ -1086,11 +1086,6 @@ SR_PRIV int hmo_scope_state_get(struct sr_dev_inst *sdi) if (digital_channel_state_get(sdi, config, state) != SR_OK) return SR_ERR; - if (sr_scpi_get_float(sdi->conn, - (*config->scpi_dialect)[SCPI_CMD_GET_TIMEBASE], - &tmp_float) != SR_OK) - return SR_ERR; - if (sr_scpi_get_string(sdi->conn, (*config->scpi_dialect)[SCPI_CMD_GET_TIMEBASE], &tmp_str) != SR_OK)