X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fyokogawa-dlm%2Fapi.c;h=cc0cacbd3737201255f9e1b1e50cda6f8f607c29;hp=650174a09234ae7ee1a52a82fe33f822b8655e36;hb=ca314e060f653e6a0b5ec0f58914bac4d426217f;hpb=c8e789fa0c7264f8356b0446367cc1252fadfe4c diff --git a/src/hardware/yokogawa-dlm/api.c b/src/hardware/yokogawa-dlm/api.c index 650174a0..cc0cacbd 100644 --- a/src/hardware/yokogawa-dlm/api.c +++ b/src/hardware/yokogawa-dlm/api.c @@ -476,10 +476,6 @@ static int config_list(uint32_t key, GVariant **data, const struct sr_dev_inst * devc = (sdi) ? sdi->priv : NULL; model = (devc) ? devc->model_config : NULL; - /* - * If cg is NULL, only the SR_CONF_DEVICE_OPTIONS that are not - * specific to a channel group must be returned. - */ if (!cg) { switch (key) { case SR_CONF_SCAN_OPTIONS: @@ -611,7 +607,6 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi) devc->current_channel = devc->enabled_channels; dlm_channel_data_request(sdi); - /* Call our callback when data comes in or after 5ms. */ sr_scpi_source_add(sdi->session, scpi, G_IO_IN, 5, dlm_data_receive, (void *)sdi);