rigol-ds: Fix rigol_ds_channel_start() for digital channels.
This commit is contained in:
parent
9e4b7d9833
commit
07ccb2b3f1
|
@ -328,7 +328,7 @@ SR_PRIV int rigol_ds_channel_start(const struct sr_dev_inst *sdi)
|
||||||
devc->channel->index + 1);
|
devc->channel->index + 1);
|
||||||
|
|
||||||
if (devc->model->protocol == PROTOCOL_LEGACY) {
|
if (devc->model->protocol == PROTOCOL_LEGACY) {
|
||||||
if (devc->channel->type == SR_DF_LOGIC) {
|
if (devc->channel->type == SR_PROBE_LOGIC) {
|
||||||
if (sr_scpi_send(sdi->conn, ":WAV:DATA? DIG") != SR_OK)
|
if (sr_scpi_send(sdi->conn, ":WAV:DATA? DIG") != SR_OK)
|
||||||
return SR_ERR;
|
return SR_ERR;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue