When refactoring the code, some places where sr_scpi_send was replaced
by rigol_ds_config_set the first argument was not changed from sdi->conn
to sdi. Fix the remaining ones.
Fix: https://sigrok.org/bug/1073
Signed-off-by: Stefan Brüns <redacted>
return SR_OK;
if (ch->type == SR_CHANNEL_LOGIC) {
- if (rigol_ds_config_set(sdi->conn, ":WAV:SOUR LA") != SR_OK)
+ if (rigol_ds_config_set(sdi, ":WAV:SOUR LA") != SR_OK)
return SR_ERR;
} else {
if (rigol_ds_config_set(sdi, ":WAV:SOUR CHAN%d",
break;
case PROTOCOL_V3:
if (ch->type == SR_CHANNEL_LOGIC) {
- if (rigol_ds_config_set(sdi->conn, ":WAV:SOUR LA") != SR_OK)
+ if (rigol_ds_config_set(sdi, ":WAV:SOUR LA") != SR_OK)
return SR_ERR;
} else {
if (rigol_ds_config_set(sdi, ":WAV:SOUR CHAN%d",