Fix 'aquisition' typo in a few places.
This commit is contained in:
parent
846fb172db
commit
a84f6ad389
|
@ -748,7 +748,7 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi, void *cb_data)
|
|||
(void)cb_data;
|
||||
|
||||
devc = sdi->priv;
|
||||
sr_dbg("Stopping aquisition.");
|
||||
sr_dbg("Stopping acquisition.");
|
||||
|
||||
sr_session_source_remove_channel(devc->channel);
|
||||
g_io_channel_shutdown(devc->channel, FALSE, NULL);
|
||||
|
|
|
@ -1162,7 +1162,7 @@ SR_PRIV int gmc_mh_1x_2x_receive_data(int fd, int revents, void *cb_data)
|
|||
}
|
||||
}
|
||||
|
||||
/* If number of samples or time limit reached, stop aquisition. */
|
||||
/* If number of samples or time limit reached, stop acquisition. */
|
||||
if (devc->limit_samples && (devc->num_samples >= devc->limit_samples))
|
||||
sdi->driver->dev_acquisition_stop(sdi, cb_data);
|
||||
|
||||
|
@ -1213,7 +1213,7 @@ SR_PRIV int gmc_mh_2x_receive_data(int fd, int revents, void *cb_data)
|
|||
}
|
||||
}
|
||||
|
||||
/* If number of samples or time limit reached, stop aquisition. */
|
||||
/* If number of samples or time limit reached, stop acquisition. */
|
||||
if (devc->limit_samples && (devc->num_samples >= devc->limit_samples))
|
||||
sdi->driver->dev_acquisition_stop(sdi, cb_data);
|
||||
|
||||
|
|
|
@ -401,7 +401,7 @@ SR_PRIV int norma_dmm_receive_data(int fd, int revents, void *cb_data)
|
|||
}
|
||||
}
|
||||
|
||||
/* If number of samples or time limit reached, stop aquisition. */
|
||||
/* If number of samples or time limit reached, stop acquisition. */
|
||||
terminating = FALSE;
|
||||
if (devc->limit_samples && (devc->num_samples >= devc->limit_samples)) {
|
||||
sdi->driver->dev_acquisition_stop(sdi, cb_data);
|
||||
|
|
|
@ -552,7 +552,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data)
|
|||
devc->acquisition = acq;
|
||||
ret = lwla_setup_acquisition(sdi);
|
||||
if (ret != SR_OK) {
|
||||
sr_err("Failed to set up aquisition.");
|
||||
sr_err("Failed to set up acquisition.");
|
||||
devc->acquisition = NULL;
|
||||
lwla_free_acquisition_state(acq);
|
||||
return ret;
|
||||
|
@ -560,7 +560,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi, void *cb_data)
|
|||
|
||||
ret = lwla_start_acquisition(sdi);
|
||||
if (ret != SR_OK) {
|
||||
sr_err("Failed to start aquisition.");
|
||||
sr_err("Failed to start acquisition.");
|
||||
devc->acquisition = NULL;
|
||||
lwla_free_acquisition_state(acq);
|
||||
return ret;
|
||||
|
|
|
@ -1011,10 +1011,10 @@ struct sr_dev_driver {
|
|||
int (*dev_open) (struct sr_dev_inst *sdi);
|
||||
/** Close device */
|
||||
int (*dev_close) (struct sr_dev_inst *sdi);
|
||||
/** Begin data aquisition on the specified device. */
|
||||
/** Begin data acquisition on the specified device. */
|
||||
int (*dev_acquisition_start) (const struct sr_dev_inst *sdi,
|
||||
void *cb_data);
|
||||
/** End data aquisition on the specified device. */
|
||||
/** End data acquisition on the specified device. */
|
||||
int (*dev_acquisition_stop) (struct sr_dev_inst *sdi,
|
||||
void *cb_data);
|
||||
|
||||
|
|
Loading…
Reference in New Issue