rigol-ds: Fix rigol_ds_channel_start() for digital channels.

This commit is contained in:
Martin Ling 2013-12-27 23:28:17 +01:00 committed by Bert Vermeulen
parent 9e4b7d9833
commit 07ccb2b3f1
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ SR_PRIV int rigol_ds_channel_start(const struct sr_dev_inst *sdi)
devc->channel->index + 1);
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)
return SR_ERR;
} else {