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;
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... */