rigol-ds: Add missing "return SR_ERR".
This commit is contained in:
parent
e5b41b8d7e
commit
55bece00aa
|
@ -477,6 +477,7 @@ SR_PRIV int rigol_ds_channel_start(const struct sr_dev_inst *sdi)
|
|||
/* Vertical increment. */
|
||||
if (sr_scpi_get_float(sdi->conn, ":WAV:YINC?",
|
||||
&devc->vert_inc[ch->index]) != SR_OK)
|
||||
return SR_ERR;
|
||||
/* Vertical origin. */
|
||||
if (sr_scpi_get_float(sdi->conn, ":WAV:YOR?",
|
||||
&devc->vert_origin[ch->index]) != SR_OK)
|
||||
|
|
Loading…
Reference in New Issue