From: Matthias Heidbrink Date: Mon, 19 May 2014 19:38:23 +0000 (+0200) Subject: motech-lps-30x: Cleanup. X-Git-Tag: libsigrok-0.4.0~1313 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=419bfb50098a33007099837d9ae7900deb1568e2;p=libsigrok.git motech-lps-30x: Cleanup. --- diff --git a/hardware/motech-lps-30x/api.c b/hardware/motech-lps-30x/api.c index bc10702a..ad0fb3c4 100644 --- a/hardware/motech-lps-30x/api.c +++ b/hardware/motech-lps-30x/api.c @@ -612,7 +612,7 @@ static int config_set(int key, GVariant *data, const struct sr_dev_inst *sdi, devc = sdi->priv; - /* Cannot change settings while aquisition active, would cause a mess with commands. + /* Cannot change settings while acquisition active, would cause a mess with commands. * Changing this would be possible, but tricky. */ if (devc->acq_running) return SR_ERR_NA; diff --git a/hardware/motech-lps-30x/protocol.c b/hardware/motech-lps-30x/protocol.c index 11c1be6d..c4afd657 100644 --- a/hardware/motech-lps-30x/protocol.c +++ b/hardware/motech-lps-30x/protocol.c @@ -66,12 +66,10 @@ static void send_data(struct sr_dev_inst *sdi) static void process_line(struct sr_dev_inst *sdi) { struct dev_context *devc; - struct sr_serial_dev_inst *serial; double dbl; int auxint; devc = sdi->priv; - serial = sdi->conn; switch (devc->acq_req_pending) { case 0: /* Should not happen... */