]> sigrok.org Git - libsigrok.git/commitdiff
hameg-hmo: Remove duplicate function call.
authorGuido Trentalancia <redacted>
Tue, 20 Nov 2018 22:24:59 +0000 (23:24 +0100)
committerUwe Hermann <redacted>
Thu, 25 Jul 2019 22:55:40 +0000 (00:55 +0200)
This call was inadvertently left around in commit
8cccbac8da97397b61aa094c67e62ee922b628ed.

src/hardware/hameg-hmo/protocol.c

index 8ba2a35e68b5030f5f2b4fb5e2a79303e6452e23..ef30c6f72950c0860482a1540b4572ce70216bd0 100644 (file)
@@ -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)