static int rigol_ds_check_stop(const struct sr_dev_inst *sdi)
{
struct dev_context *devc;
- struct sr_probe *probe;
+ struct sr_channel *probe;
int tmp;
if (!(devc = sdi->priv))
SR_PRIV int rigol_ds_channel_start(const struct sr_dev_inst *sdi)
{
struct dev_context *devc;
- struct sr_probe *probe;
+ struct sr_channel *probe;
if (!(devc = sdi->priv))
return SR_ERR;
struct sr_datafeed_logic logic;
double vdiv, offset;
int len, i, vref;
- struct sr_probe *probe;
+ struct sr_channel *probe;
gsize expected_data_bytes;
(void)fd;
return TRUE;
if (rigol_ds_channel_start(sdi) != SR_OK)
return TRUE;
- break;
+ return TRUE;
case WAIT_BLOCK:
if (rigol_ds_block_wait(sdi) != SR_OK)
return TRUE;