struct dev_context *devc;
devc = sdi->priv;
- sr_source_remove(devc->serial->fd);
+ serial_source_remove(devc->serial);
/* Terminate session */
packet.type = SR_DF_END;
SR_PRIV int mso_configure_probes(const struct sr_dev_inst *sdi)
{
struct dev_context *devc;
- struct sr_probe *probe;
+ struct sr_channel *probe;
GSList *l;
char *tc;
devc->use_trigger = FALSE;
for (l = sdi->probes; l; l = l->next) {
- probe = (struct sr_probe *)l->data;
+ probe = (struct sr_channel *)l->data;
if (probe->enabled == FALSE)
continue;