rigol-ds: apply :KEY:LOCK DISABLE only to DS1K
This commit is contained in:
parent
3918fbb0cf
commit
6e94eb4142
|
@ -488,7 +488,7 @@ static int dev_close(struct sr_dev_inst *sdi)
|
|||
scpi = sdi->conn;
|
||||
devc = sdi->priv;
|
||||
|
||||
if (devc->model->series->protocol >= PROTOCOL_V2)
|
||||
if (devc->model->series->protocol == PROTOCOL_V2)
|
||||
rigol_ds_config_set(sdi, ":KEY:LOCK DISABLE");
|
||||
|
||||
if (scpi) {
|
||||
|
|
Loading…
Reference in New Issue